You have parsed documents, evaluated an expression, opened storage, stored people from language values, decoded query rows and verified an update. Convert at the edges of your program: keep language values where your code works with them, and documents where you pass the same data to several operations.

Read Language values and documents for encode, decode, typed rows and the conversion rules. Use Documents and Building for native node reads and builders. Use Definitions to save and manage named definitions. Build and evaluate macros through Expressions and macros.

For changing answers, use subscriptions in Queries and mutations. Consume the initial result and subsequent events. Each event replaces the previous result. Close the subscription before its database.

Go subscriptions register readiness callbacks automatically. Consume events with All or wait with Next. These calls use Go scheduler notifications.

Follow Query bounds for historical queries.

Use Explain and cost to inspect measured work. Check Types and units before converting durations or instants. The operation contracts state ownership, concurrency and failure rules for each language.