$result
$result : resource
Database results
PDO Db adapter class
__construct(array $options) : \Pop\Db\Adapter\Pdo
Constructor
Instantiate the PDO database connection object.
array | $options |
prepare(string $sql, array $attribs = null) : \Pop\Db\Adapter\Pdo
Prepare a SQL query.
string | $sql | |
array | $attribs |
bindParams(array $params) : \Pop\Db\Adapter\Pdo
Bind parameters to for a prepared SQL query.
array | $params |
bindParam(mixed $param, mixed $value, integer $dataType = \PDO::PARAM_STR, integer $length = null, mixed $options = null) : \Pop\Db\Adapter\Pdo
Bind a value for a prepared SQL query.
mixed | $param | |
mixed | $value | |
integer | $dataType | |
integer | $length | |
mixed | $options |
bindValue(mixed $param, mixed $value, integer $dataType = \PDO::PARAM_STR) : \Pop\Db\Adapter\Pdo
Bind a parameter for a prepared SQL query.
mixed | $param | |
mixed | $value | |
integer | $dataType |