Db\Adapter\Pdo\Sqlite::useExplicitIdValue

public useExplicitIdValue () Check whether the database system requires an explicit value for identity columns

Db\Adapter\Pdo\Sqlite::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\Pdo\Sqlite::describeReferences

public Phalcon\Db\ReferenceInterface[] describeReferences (string $table, [string $schema]) Lists table references

Db\Adapter\Pdo\Sqlite::describeIndexes

public Phalcon\Db\IndexInterface[] describeIndexes (string $table, [string $schema]) Lists table indexes print_r($connection->describeIndexes('robots_parts'));

Db\Adapter\Pdo\Sqlite::describeColumns

public describeColumns (mixed $table, [mixed $schema]) Returns an array of Phalcon\Db\Column objects describing a table print_r($connection->describeColumns("posts"));

Db\Adapter\Pdo\Sqlite::connect

public connect ([array $descriptor]) This method is automatically called in Phalcon\Db\Adapter\Pdo constructor. Call it when you need to restore a database connection.

Db\Adapter\Pdo\Sqlite

extends abstract class Phalcon\Db\Adapter\Pdo implements Phalcon\Events\EventsAwareInterface, Phalcon\Db\AdapterInterface Source on GitHub Specific functions for the Sqlite database system use Phalcon\Db\Adapter\Pdo\Sqlite; $connection = new Sqlite(['dbname' => '/tmp/test.sqlite']); Methods public connect ([array $descriptor]) This method is automatically called in Phalcon\Db\Adapter\Pdo constructor. Call it when you need to restore a database connection. public describeColumns (mixed $ta

Db\Adapter\Pdo\Postgresql::useExplicitIdValue

public useExplicitIdValue () Check whether the database system requires an explicit value for identity columns

Db\Adapter\Pdo\Postgresql::supportSequences

public supportSequences () Check whether the database system requires a sequence to produce auto-numeric values

Db\Adapter\Pdo\Postgresql::modifyColumn

public modifyColumn (mixed $tableName, mixed $schemaName, Phalcon\Db\ColumnInterface $column, [Phalcon\Db\ColumnInterface $currentColumn]) Modifies a table column based on a definition