PHP Class phprs\ezsql\impls\ExecImpl

Show file Open project: caoym/phprs-restful Class Usage Examples

Public Methods

Method Description
exec ( $context, $db, $exceOnError = true ) : Response
get ( SqlConetxt $context, PDO $db, $dictAs = null, boolean $errExce = true ) : false | array

Method Details

exec() public static method

public static exec ( $context, $db, $exceOnError = true ) : Response
$context SqlConetxt
$db \PDO
$exceOnError boolean whether throw exceptions
return Response

get() public static method

public static get ( SqlConetxt $context, PDO $db, $dictAs = null, boolean $errExce = true ) : false | array
$context phprs\ezsql\SqlConetxt
$db PDO
$errExce boolean
return false | array