Skip to main content

Queries and Query Workers

You can access your Macrometa data collections by writing a query in C8QL. GDN stores named and parameterized C8QL queries as query workers that you can run from a dedicated REST endpoint. Query workers are also called RESTQL or “Query as API.”

When the user saves a query, the query is automatically converted to an API and is deployed globally to serve the users from the region closest to them with local latencies.

note

Best practice is to use query workers to build applications integrated with GDN instead of directly querying C8QL.