SELECT query with same label node using PGQL

61 Views Asked by At

We are trying to write PGQL select query on PG View(version 21.4) to retrieve all nodes using label.

We had being using the following link as our PGQL guideline. https://pgql-lang.org/spec/1.4/#writing-simple-queries

Node Table:

  • Database table: NODE
  • Columns: ID, LABEL, PROPERTIES, CREATEDBY, CREATEDDATETIME

Example select query: SELECT n.* FROM MATCH (n:DATA) ON GRAPH

ERROR: vertex label does not exist.

It will return result if :DATA is remove. What would had cause the error since it was working on PGS. Any solution or workaround would be appreciated.

0

There are 0 best solutions below