LazyRecord\Metadata::getKeys PHP Method

getKeys() public method

public getKeys ( )
    public function getKeys()
    {
        $stm = $this->connection->prepare('SELECT name FROM __meta__');
        $stm->execute();
        $rows = $stm->fetchAll(PDO::FETCH_OBJ);
        $keys = array();
        foreach ($rows as $row) {
            $keys[] = $row->name;
        }
        return $keys;
    }