statement = $this->query($sql); return $this->statement; } // -------------------------------------------------------------------------- /** * List tables for the current database * * @return mixed */ public function get_tables() { $sql = $this->sql->table_list(); $res = $this->query($sql); return db_filter($res->fetchAll(\PDO::FETCH_ASSOC), 'name'); } // -------------------------------------------------------------------------- /** * List system tables for the current database * * @return string[] */ public function get_system_tables() { //SQLite only has the sqlite_master table // that is of any importance. return array('sqlite_master'); } // -------------------------------------------------------------------------- /** * Create sql for batch insert * * @param string $table * @param array $data * @return string */ /*public function insert_batch($table, $data=array()) { // This is not very applicable to the firebird database return NULL; }*/ } //End of sqlite_driver.php