Cake\Database\Schema\SqliteSchema::hasSequences PHP Method

hasSequences() public method

Returns whether there is any table in this connection to SQLite containing sequences
public hasSequences ( ) : boolean
return boolean
    public function hasSequences()
    {
        $result = $this->_driver->prepare('SELECT 1 FROM sqlite_master WHERE name = "sqlite_sequence"');
        $result->execute();
        $this->_hasSequences = (bool) $result->rowCount();
        $result->closeCursor();
        return $this->_hasSequences;
    }