PDO Interface to implement for database drivers
__construct(string $dsn, \[string] $username= NULL
, \[string] $password= NULL
, \[array] $driver_options= array()
) : void
beginTransaction() : bool
bool
commit() : bool
bool
errorCode() : mixed
mixed
errorInfo() : array
array
exec(string $statement) : int
string
int
getAttribute(int $attribute)
returm | mixed |
---|
int
inTransaction() : bool
bool
lastInsertId(\[string] $name = NULL
) : string
prepare(string $statement, \[array] $driver_options = array()
) : \PDOStatement
quote(string $string, \[int] $parameter_type = \PDO::PARAM_STRING
)
rollback() : bool
bool
setAttribute(int $attribute, mixed $value) : bool
int
mixed
bool