Interface Driver
Connection driver interface.
Direct known implementers
ICanBoogie\ActiveRecord\Connection,
ICanBoogie\ActiveRecord\Driver\BasicDriver
Indirect known implementers
ICanBoogie\ActiveRecord\Driver\MySQLDriver,
ICanBoogie\ActiveRecord\Driver\SQLiteDriver
Methods summary
public
quote_identifier( string|array $identifier )
: string|array
Quotes an identifier, or an array of identifiers.
public
cast_value( mixed $value, string|null $type = null )
: mixed
Casts a value into a database compatible representation.
public
render_column( ICanBoogie\ActiveRecord\SchemaColumn $column )
: string
Renders a column definition.
public
create_table( string $unprefixed_table_name, ICanBoogie\ActiveRecord\Schema $schema )
: ICanBoogie\ActiveRecord\Driver
Creates a table given a schema.
public
create_indexes( string $unprefixed_table_name, ICanBoogie\ActiveRecord\Schema $schema )
: ICanBoogie\ActiveRecord\Driver
Creates indexes given a schema.
public
create_unique_indexes( string $unprefixed_table_name, ICanBoogie\ActiveRecord\Schema $schema )
: ICanBoogie\ActiveRecord\Driver
Creates unique indexes given a schema.