Class MySQLDriver
Connection driver for MySQL.
- ICanBoogie\ActiveRecord\Driver\BasicDriver implements ICanBoogie\ActiveRecord\Driver uses ICanBoogie\Accessor\AccessorTrait (not available)
- ┗ ICanBoogie\ActiveRecord\Driver\MySQLDriver
Direct known subclasses
Methods summary
public
create_table( string $unprefixed_table_name, ICanBoogie\ActiveRecord\Schema $schema )
: ICanBoogie\ActiveRecord\Driver\MySQLDriver
public
create_indexes( string $unprefixed_table_name, ICanBoogie\ActiveRecord\Schema $schema )
: ICanBoogie\ActiveRecord\Driver\MySQLDriver
public
create_unique_indexes( string $unprefixed_table_name, ICanBoogie\ActiveRecord\Schema $schema )
: ICanBoogie\ActiveRecord\Driver\MySQLDriver
protected
render_create_table( string $unprefixed_table_name, ICanBoogie\ActiveRecord\Schema $schema )
: string
Renders create table statement.
protected
render_create_table_lines( ICanBoogie\ActiveRecord\Schema $schema )
: array
Renders the lines used to create a table.
protected
render_create_table_line( ICanBoogie\ActiveRecord\Schema $schema, string $column_id, ICanBoogie\ActiveRecord\SchemaColumn $column )
: string
Renders a line used to create a table.
protected
render_create_table_primary_key( ICanBoogie\ActiveRecord\Schema $schema )
: string
Renders primary key clause to create table.
Methods inherited from ICanBoogie\ActiveRecord\Driver\BasicDriver
__construct(),
cast_value(),
get_connection(),
quote_identifier(),
quote_string(),
resolve_index_name(),
resolve_quoted_table_name(),
resolve_table_name()