src/DataStore/src/DataStore/DataStoreAbstract.php
protected function getKeys()
    {
        $identifier = $this->getIdentifier();

        $query = new Query();
        $selectNode = new Node\SelectNode([$identifier]);
        $query->setSelect($selectNode);
        $queryResult = $this->query($query);
        $keysArray = [];

        foreach ($queryResult as $row) {
            $keysArray[] = $row[$identifier];
        }

        return $keysArray;
    }
protected function getKeys()
    {
        $identifier = $this->getIdentifier();

        $query = new Query();
        $selectNode = new Node\SelectNode([$identifier]);
        $query->setSelect($selectNode);
        $queryResult = $this->query($query);
        $keysArray = [];

        foreach ($queryResult as $row) {
            $keysArray[] = $row[$identifier];
        }

        return $keysArray;
    }
protected function getKeys ( ) { $ identifier = $ this -> getIdentifier ( ) ; $ query = new Query ( ) ; $ selectNode = new Node \ SelectNode ( [ $ identifier ] ) ; $ query -> setSelect ( $ selectNode ) ; $ queryResult = $ this -> query ( $ query ) ; $ keysArray = [ ] ; foreach ( $ queryResult as $ row ) { $ keysArray [ ] = $ row [ $ identifier ] ; } return $ keysArray ; }
Return array of keys or empty array

@return array
Return array of keys or empty array