Skip to main content

Module values

Module values 

Source

Structs§

InternalId
Internal ID for nodes and relationships in the graph database.

Enums§

GraphValue
A value returned from a Cypher query, encoded as JSON per Neo4j HTTP API spec.
TaggedValue
Graph-specific types that use a $type discriminator.

Functions§

from_lbug_value
Convert a LadybugDB Value into a GraphValue for JSON serialization.
graph_value_to_plain_json
Serialize a GraphValue to Neo4j Query API v2 typed JSON format.
graph_value_to_typed_json
Every value gets a {"$type": "TypeName", "_value": ...} wrapper. See: https://neo4j.com/docs/query-api/current/typed-json/
json_params_to_lbug
Convert a JSON params object to a Vec of (name, lbug::Value) pairs.
lbug_value_logical_type
Infer the logical type from a lbug Value (for list element type).
to_lbug_value
Convert a JSON value to a LadybugDB value for parameter binding.