Module Values.CodegenGenericDataModelSource

Describes a model in a generic data schema.

Sourcetype nonrec t = {
  1. fields : CodegenGenericDataFields.t;
    (*

    The fields in the generic data model.

    *)
  2. isJoinTable : Boolean.t option;
    (*

    Specifies whether the generic data model is a join table.

    *)
  3. primaryKeys : CodegenPrimaryKeysList.t;
    (*

    The primary keys of the generic data model.

    *)
}
Sourceval context_ : string
Sourceval make : ?isJoinTable:??? -> fields:CodegenGenericDataFields.t -> primaryKeys:CodegenPrimaryKeysList.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `List of [> `String of String_.t ] list | `Map of ([> `String of String_.t ] * [> `Structure of (string * [> `Boolean of Boolean.t | `Enum of string | `String of String_.t | `Structure of (string * [> `Boolean of Boolean.t | `Enum of string | `List of [> `String of String_.t ] list | `String of String_.t ]) list ]) list ]) 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