Module Values.QueryGenerationContextSource

>Contains configurations for context to use during query generation.

Sourcetype nonrec t = {
  1. tables : QueryGenerationTables.t option;
    (*

    An array of objects, each of which defines information about a table in the database.

    *)
  2. curatedQueries : CuratedQueries.t option;
    (*

    An array of objects, each of which defines information about example queries to help the query engine generate appropriate SQL queries.

    *)
}
Sourceval make : ?tables:??? -> ?curatedQueries:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `Enum of string | `String of QueryGenerationColumnName.t ]) list ] list | `String of QueryGenerationTableName.t ]) 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