Db\Adapter::getDescriptor

public getDescriptor () Return descriptor used to connect to the active database

Db\Adapter::getDefaultValue

public getDefaultValue () Returns the default value to make the RBDM use the default value declared in the table definition //Inserting a new robot with a valid default value for the column 'year' $success = $connection->insert( "robots", array("Astro Boy", $connection->getDefaultValue()), array("name", "year") );

Db\Adapter::getDialect

public getDialect () Returns internal dialect instance

Db\Adapter::forUpdate

public forUpdate (mixed $sqlQuery) Returns a SQL modified with a FOR UPDATE clause

Db\Adapter::getConnectionId

public string getConnectionId () Gets the active connection unique identifier

Db\Adapter::getDefaultIdValue

public getDefaultIdValue () Returns the default identity value to be inserted in an identity column //Inserting a new robot with a valid default value for the column 'id' $success = $connection->insert( "robots", array($connection->getDefaultIdValue(), "Astro Boy", 1952), array("id", "name", "year") );

Db\Adapter::getColumnDefinition

public getColumnDefinition (Phalcon\Db\ColumnInterface $column) Returns the SQL column definition from a column

Db\Adapter::getColumnList

public string getColumnList (array $columnList) Gets a list of columns

Db\Adapter::dropView

public dropView (mixed $viewName, [mixed $schemaName], [mixed $ifExists]) Drops a view

Db\Adapter::dropPrimaryKey

public dropPrimaryKey (mixed $tableName, mixed $schemaName) Drops a table’s primary key