Readonly databaseReadonly driverThis id ($id) generator function, defaults to cuid
Protected logReadonly sessionsThe underlying sessions
r is returned as a relation
n is returned as a node
Optional old: Record<string, unknown>r is returned as a relation
Optional old: Record<string, unknown>Create a new node
This will always return an array, even if only one node was created
Define a new node (vertex, entity) type
Self, for chaining
The name of the node type
Optional query: { Optional limit?: numberOptional order?: OneOrMany<[keyof Schema[N]["props"], "ASC" | "DESC"]>Optional where?: Partial<{ [ K in string | number | symbol]: Schema[N]["props"][K] extends ZodType<any, ZodTypeDef, any> ? TypeOf<any[any]> : never }> & { Run a typed raw query
Query in Cypher
Rest ...params: ParamNames<Q>[number] extends never ? [Record<string, unknown>?] : [Params<Q>]Parameters to pass to the query
Generated using TypeDoc
The neo4j driver