public createTable (mixed $tableName, mixed $schemaName, array $definition) Creates a table
public Phalcon\Db\Index[] describeIndexes (string $table, [string $schema]) Lists table indexes print_r($connection->describeIndexes('robots_parts'));
public describeReferences (mixed $table, [mixed $schema]) Lists table references print_r($connection->describeReferences('robots_parts'));
public addPrimaryKey (mixed $tableName, mixed $schemaName, Phalcon\Db\IndexInterface $index) Adds a primary key 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 addColumn (mixed $tableName, mixed $schemaName, Phalcon\Db\ColumnInterface $column) Adds a column 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
integer FETCH_LAZY
integer FETCH_NAMED
Page 323 of 382