Skip to content

Reserved Keywords Tablenames

Benjie Gillam edited this page Jan 26, 2017 · 3 revisions

Some table names can cause issues with PostGraphQL due to conflicts with built in logic. When we discover these issues we list them here - please feel free to contribute your own conflicts (but mention it via an issue so we're notified!)

  • "query" / "queries" - You can't have a table with this name because it conflicts with the root-level query object inherent to the PostGraphQL schema.
  • "node" / "nodes" - can't have a table with this name because it conflicts with the GraphQL root node(...) interface.
  • "order_by" / "orderBy" - used by PostGraphQL for ordering, cannot be declared as a function argument or table column