Метод |
Описание |
|
__construct ( string $dsn, string $username = null, string $password = null, array $options = [] ) |
Takes the same parameters as the PDO constructor. |
|
createItem ( string $table, array $Data ) : integer |
|
|
deleteItem ( string $table, integer $id ) : integer |
|
|
execute ( string $statement, array $parameters = [] ) : PDOStatemen\PDOStatement |
|
|
find ( string $table ) : base\Collection |
|
|
lastId ( ) : integer |
|
|
pdo ( ) : PD\PDO |
|
|
read ( string $statement, array $parameters = [] ) : array |
|
|
readField ( string $statement, array $parameters = [] ) : array |
|
|
readFields ( string $statement, array $parameters = [] ) : array |
|
|
readItem ( string $table, integer $id ) : array |
|
|
readRecord ( string $statement, array $parameters = [] ) : array |
|
|
update ( string $statement, array $parameters = [] ) : integer |
|
|
updateItem ( string $table, integer $id, array $Data ) : integer |
|
|