emonkak / database
A database abstraction interface as a subset of PDO
Installs: 159 932
Dependents: 1
Suggesters: 0
Security: 0
Stars: 2
Watchers: 4
Forks: 1
Open Issues: 0
Requires
- php: >=7.1
- ext-pdo: *
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.16
- phpunit/phpunit: ^7.0
- satooshi/php-coveralls: ^2.0
- vimeo/psalm: ^3.11
This package is auto-updated.
Last update: 2024-04-24 08:22:29 UTC
README
A database abstraction interface as a subset of PDO.
Emonkak\Database\PDOInterface
Emonkak\Database\PDO
implements this interface.
Please see below links for details of the method.
- beginTransaction()
- commit()
- errorCode()
- exec($statement)
- inTransaction()
- lastInsertId($name = null)
- prepare($statement)
- query($statement)
- quote($string, $parameter_type = null)
- rollback
Emonkak\Database\PDOStatementInterface
Emonkak\Database\PDOStatement
implements this interface.
Please see below links for details of the method.
- bindValue($parameter, $value, $data_type = null)
- errorCode()
- errorInfo()
- execute($input_parameters = null)
- fetch($fetch_style = null, $cursor_orientation = null, $cursor_offset = null)
- fetchAll($fetch_style = null, $fetch_argument = null, $ctor_args = null)
- fetchColumn($column_number = 0)
- rowCount()
- setFetchMode($fetch_style, $fetch_argument = null, $ctor_args = null)