()
| 44 | } as const satisfies GraphSchema; |
| 45 | |
| 46 | function createTestGraph() { |
| 47 | const graph = new Graph({ schema, storage: new InMemoryGraphStorage() }); |
| 48 | return graph; |
| 49 | } |
| 50 | |
| 51 | function executeQuery(graph: Graph<GraphSchema>, queryString: string): unknown[] { |
| 52 | const ast = parse(queryString) as Query | UnionQuery | MultiStatement; |