public createView (mixed $viewName, array $definition, [mixed $schemaName]) Creates a view
public createTable (mixed $tableName, mixed $schemaName, array $definition) Creates a table
public createSavepoint (mixed $name) Creates a new savepoint
public addPrimaryKey (mixed $tableName, mixed $schemaName, Phalcon\Db\IndexInterface $index) Adds a primary key to a table
public addIndex (mixed $tableName, mixed $schemaName, Phalcon\Db\IndexInterface $index) Adds an index to a table
public addForeignKey (mixed $tableName, mixed $schemaName, Phalcon\Db\ReferenceInterface $reference) Adds a foreign key to a table
public addColumn (mixed $tableName, mixed $schemaName, Phalcon\Db\ColumnInterface $column) Adds a column to a table
implements Phalcon\Events\EventsAwareInterface Source on GitHub Base class for Phalcon\Db adapters Methods public getDialectType () Name of the dialect used public getType () Type of database system the adapter is used for public getSqlVariables () Active SQL bound parameter variables public __construct (array $descriptor) Phalcon\Db\Adapter constructor public setEventsManager (Phalcon\Events\ManagerInterface $eventsManager) Sets the event manager public getEventsManager () Returns the internal
public static setup (array $options) Enables/disables options in the Database component
integer FETCH_UNIQUE
Page 323 of 382