Module Values.ColumnInfoSource

Information about the columns in a query execution result.

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

    The catalog to which the query results belong.

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

    The schema name (database name) to which the query results belong.

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

    The table name for the query results.

    *)
  4. name : String_.t option;
    (*

    The name of the column.

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

    A column label.

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

    The data type of the column.

    *)
  7. precision : Integer.t option;
    (*

    For DECIMAL data types, specifies the total number of digits, up to 38. For performance reasons, we recommend up to 18 digits.

    *)
  8. scale : Integer.t option;
    (*

    For DECIMAL data types, specifies the total number of digits in the fractional part of the value. Defaults to 0.

    *)
  9. nullable : ColumnNullable.t option;
    (*

    Unsupported constraint. This value always shows as UNKNOWN.

    *)
  10. caseSensitive : Boolean.t option;
    (*

    Indicates whether values in the column are case-sensitive.

    *)
}
Sourceval make : ?catalogName:??? -> ?schemaName:??? -> ?tableName:??? -> ?name:??? -> ?label:??? -> ?type_:??? -> ?precision:??? -> ?scale:??? -> ?nullable:??? -> ?caseSensitive:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `Enum of string | `Integer of Integer.t | `String of String_.t ]) 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