Skip to main content

2 posts tagged with "GraphQL"

The schema-first GraphQL layer, @loradb/lora-graphql.

View All Tags

LoraDB v0.17: inside lora-graphql

· 10 min read
The LoraDB team
Engineering

LoraDB v0.17. Inside lora-graphql.

v0.16 introduced @loradb/lora-graphql. This post is about how it works: what happens between an annotated schema and the Cypher that reaches the engine, and why it is built that way.

The short version: there are no resolvers that walk the graph. A GraphQL operation is compiled, root field by root field, into one parameterised Cypher statement whose plan can be checked before it ever runs.

LoraDB v0.16: GraphQL, and an engine that finds the seek

· 5 min read
The LoraDB team
Engineering

LoraDB v0.16 adds a GraphQL API, and a planner that no longer needs help finding an index.

The headline is a new package, @loradb/lora-graphql. One annotated schema becomes an executable GraphQL API whose operations compile to parameterised Cypher. Building it put the engine under a kind of load the Cypher examples never did, and most of this release's engine work came out of that: condition pushdown, IN seeks, early LIMIT inside transactions, temporal range indexes, writes in CALL { }, and a committed change feed.