Module Values.PropertygraphDataSource

A Gremlin or openCypher change record.

Sourcetype nonrec t = {
  1. id : String_.t option;
    (*

    The ID of the Gremlin or openCypher element.

    *)
  2. type_ : String_.t option;
    (*

    The type of this Gremlin or openCypher element. Must be one of: v1   -   Vertex label for Gremlin, or node label for openCypher. vp   -   Vertex properties for Gremlin, or node properties for openCypher. e   -   Edge and edge label for Gremlin, or relationship and relationship type for openCypher. ep   -   Edge properties for Gremlin, or relationship properties for openCypher.

    *)
  3. key : String_.t option;
    (*

    The property name. For element labels, this is label.

    *)
  4. value : Document.t option;
    (*

    This is a JSON object that contains a value field for the value itself, and a datatype field for the JSON data type of that value:

    *)
  5. from : String_.t option;
    (*

    If this is an edge (type = e), the ID of the corresponding from vertex or source node.

    *)
  6. to_ : String_.t option;
    (*

    If this is an edge (type = e), the ID of the corresponding to vertex or target node.

    *)
}
Sourceval make : ?id:??? -> ?type_:??? -> ?key:??? -> ?value:??? -> ?from:??? -> ?to_:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of String_.t | `Structure of 'a list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t