Метод |
Описание |
|
__construct ( Mapper $mapper ) |
Constructor Method |
|
create ( string $table, array $data ) |
Create new row object with set properties |
|
dataWithFieldAliasMappings ( array $data ) |
Taken given field name/value inputs and map them to their aliased names |
|
dropTable ( string $table ) : boolean |
Drop Table |
|
escapeIdentifier ( string $identifier ) : string |
Escape/quote identifier |
|
exec ( Query $query ) : Doctrine\DBAL\Driver\Statement | integer |
Execute provided query and return result |
|
migrate ( ) : boolean |
Migrate table structure changes to database |
|
migrateCreateSchema ( ) : Doctrine\DBAL\Schema\Schema |
Migrate create schema |
|
noQuote ( boolean $noQuote = true ) |
Set field and value quoting on/off - maily used for testing output SQL
since quoting is different per platform |
|
read ( Query $query ) : Collection |
Find records with custom SQL query |
|
trimSchemaName ( string $identifier ) : string |
Trim a leading schema name separated by a dot if present |
|
truncate ( string $table, boolean $cascade = false ) |
Truncate Table |
|
update ( string $table, array $data, array $where ) |
Update |
|