/** * Run the query as a "select" statement against the connection. * * @return array */ protected function runSelect() { return $this->connection->select($this->toCypher(), $this->getBindings()); }
/** * Run a select statement against the database. * * @param string $query * @param array $bindings * @return array * @static */ public static function select($query, $bindings = array()) { return \Vinelab\NeoEloquent\Connection::select($query, $bindings); }