Skip to content

Commit

Permalink
Add parallel as an option for runtime in CypherQueryOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
darrellwarde committed Jun 13, 2024
1 parent a762318 commit 62a052a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/spicy-oranges-jam.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@neo4j/graphql": patch
---

Add parallel as an option for `runtime` in `CypherQueryOptions`
5 changes: 4 additions & 1 deletion packages/graphql/src/types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -256,8 +256,11 @@ export type CallbackOperations = "CREATE" | "UPDATE";
Object keys and enum values map to values at https://neo4j.com/docs/cypher-manual/current/query-tuning/query-options/#cypher-query-options
*/
export interface CypherQueryOptions {
runtime?: "interpreted" | "slotted" | "pipelined";
runtime?: "interpreted" | "slotted" | "pipelined" | "parallel";
planner?: "cost" | "idp" | "dp";
/**
* @deprecated The Cypher query option `connectComponentsPlanner` is deprecated and will be removed without a replacement. https://neo4j.com/docs/cypher-manual/current/planning-and-tuning/query-tuning/#cypher-connect-components-planner
*/
connectComponentsPlanner?: "greedy" | "idp";
updateStrategy?: "default" | "eager";
expressionEngine?: "default" | "interpreted" | "compiled";
Expand Down

0 comments on commit 62a052a

Please # to comment.