public function getNodeIds($table) { $qb = $this->connection->createQueryBuilder(); $qb->select('id')->from($table)->orderBy('id', 'ASC'); return $this->connection->fetchAll($qb->getSQL()); }