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:String_.t -> ?schemaName:String_.t -> ?tableName:String_.t -> ?name:String_.t -> ?label:String_.t -> ?type_:String_.t -> ?precision:Integer.t -> ?scale:Integer.t -> ?nullable:ColumnNullable.t -> ?caseSensitive:Boolean.t -> 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