package packstream

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t =
  1. | Null
  2. | True
  3. | False
  4. | Int of int64
  5. | Float of float
  6. | Bytes of bytes
  7. | String of string
  8. | List of t list
  9. | Dict of t alist
  10. | Struct of {
    1. length : int;
    2. tag : int;
    3. fields : t list;
    }
  11. | Node of Node.t
  12. | Relationship of Relationship.t
  13. | UnboundRelationship of UnboundRelationship.t
  14. | Path of Path.t
  15. | Date of {
    1. days : int64;
    }
  16. | Time of {
    1. nanoseconds : int64;
    2. tz_offset_seconds : int64;
    }
  17. | LocalTime of {
    1. nanoseconds : int64;
    }
  18. | DateTime of {
    1. seconds : int64;
    2. nanoseconds : int64;
    3. tz_offset_seconds : int64;
    }
  19. | DateTimeZoneId of {
    1. seconds : int64;
    2. nanoseconds : int64;
    3. tz_id : string;
    }
  20. | LocalDateTime of {
    1. seconds : int64;
    2. nanoseconds : int64;
    }
  21. | Duration of {
    1. months : int64;
    2. days : int64;
    3. seconds : int64;
    4. nanoseconds : int64;
    }
  22. | Point2D of {
    1. srid : int64;
    2. x : float;
    3. y : float;
    }
  23. | Point3D of {
    1. srid : int64;
    2. x : float;
    3. y : float;
    4. z : float;
    }
val pp : Ppx_deriving_runtime.Format.formatter -> t -> Ppx_deriving_runtime.unit
val get_string : t -> (string, string) Core.result
val get_node : t -> (Node.t, string) Core.result
val get_relationship : t -> (Relationship.t, string) Core.result
val get_int : t -> (int64, string) Core.result
val get_unboundrelationship : t -> (UnboundRelationship.t, string) Core.result