src/Titon/Db/Sqlite/SqliteDriver.php
public function listTables($database = null) {
        $database = $database ?: $this->getDatabase();

        return $this->cacheQuery([__METHOD__, $database], function(SqliteDriver $driver) use ($database) {
            $tables = $driver->executeQuery('SELECT * FROM sqlite_master WHERE type = ?;', ['table'])->find();
            $schema = [];

            foreach ($tables as $table) {
                if ($table['name'] === 'sqlite_sequence') {
                    continue;
                }

                $schema[] = $table['name'];
            }

            return $schema;
        }, '+1 year');
    }
public function listTables($database = null) {
        $database = $database ?: $this->getDatabase();

        return $this->cacheQuery([__METHOD__, $database], function(SqliteDriver $driver) use ($database) {
            $tables = $driver->executeQuery('SELECT * FROM sqlite_master WHERE type = ?;', ['table'])->find();
            $schema = [];

            foreach ($tables as $table) {
                if ($table['name'] === 'sqlite_sequence') {
                    continue;
                }

                $schema[] = $table['name'];
            }

            return $schema;
        }, '+1 year');
    }
public function listTables ( $ database = null ) { $ database = $ database ? : $ this -> getDatabase ( ) ; return $ this -> cacheQuery ( [ __METHOD__ , $ database ] , function ( SqliteDriver $ driver ) use ( $ database ) { $ tables = $ driver -> executeQuery ( 'SELECT * FROM sqlite_master WHERE type = ?;' , [ 'table' ] ) -> find ( ) ; $ schema = [ ] ; foreach ( $ tables as $ table ) { if ( $ table [ 'name' ] === 'sqlite_sequence' ) { continue ; } $ schema [ ] = $ table [ 'name' ] ; } return $ schema ; } , '+1 year' ) ; }
{@inheritdoc}
{