Core
Core
Compiler model, query language, filters, relationships, cursors, aggregations, mutations, and subscriptions.
Core pages explain the GraphJin query model from first query to production-grade operations.
| Page | What it covers |
|---|---|
| Compiler Model | How GraphQL becomes QCode and then SQL, MongoDB JSON DSL, or source-specific work. |
| Query Language | Fields, aliases, variables, fragments, directives, expressions, search, and JSON paths. |
| Filters | Scalar, list, text, related-table, JSON, and geo filters with wrong/right examples. |
| Ordering And Cursors | Explicit ordering, custom order lists, distinct, root-level cursors, and opaque cursor rules. |
| Relationships | Same-database joins, MongoDB lookups, remote joins, cross-database joins, recursive paths, and polymorphic selections. |
| Aggregations And Functions | Aggregate fields, grouped summaries, expression aggregates, analytics directives, search, and database functions. |
| Mutations | Inserts, bulk and nested writes, connect, validation, presets, updates, deletes, and dialect mutation strategies. |
| Subscriptions | WebSocket/SSE live queries, resume cursors, MCP cursor IDs, and the dynamic security-prefix pitfall. |
The examples here are intentionally close to the Go examples and compiler tests so docs drift is easier to catch.
Compiler Model
GraphJin compiles GraphQL into database and source operations instead of resolving fields one by one.
Query Language
Fields, aliases, variables, fragments, directives, search, JSON paths, and expressions.
Filters
Use WHERE operators, logical groups, related-table filters, JSON operators, and geo filters.
Ordering And Cursors
Use explicit ordering, distinct, offset, custom order lists, and cursor pagination.
Relationships
Traverse one-to-one, one-to-many, many-to-many, recursive, and polymorphic relationships.
Aggregations And Functions
Use aggregate fields, analytics directives, SQL functions, full-text search, and database function fields.
Mutations
Insert, update, connect, validate, and transact across related tables.
Subscriptions
Stream query changes over WebSocket or SSE with the same compiler and policy model.