Module Values.ColumnMetadataSource

The properties (metadata) of a column.

Sourcetype nonrec t = {
  1. isCaseSensitive : Bool_.t option;
    (*

    A value that indicates whether the column is case-sensitive.

    *)
  2. isCurrency : Bool_.t option;
    (*

    A value that indicates whether the column contains currency values.

    *)
  3. isSigned : Bool_.t option;
    (*

    A value that indicates whether an integer column is signed.

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

    The label for the column.

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

    The name of the column.

    *)
  6. nullable : Integer.t option;
    (*

    A value that indicates whether the column is nullable.

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

    The precision value of a decimal number column, or the column length for a non-numeric column.

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

    The scale value of a decimal number column.

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

    The name of the schema that contains the table that includes the column.

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

    The name of the table that includes the column.

    *)
  11. typeName : String_.t option;
    (*

    The database-specific data type of the column.

    *)
  12. length : Integer.t option;
    (*

    The length of the column.

    *)
  13. columnDefault : String_.t option;
    (*

    The default value of the column.

    *)
}
Sourceval make : ?isCaseSensitive:Bool_.t -> ?isCurrency:Bool_.t -> ?isSigned:Bool_.t -> ?label:String_.t -> ?name:String_.t -> ?nullable:Integer.t -> ?precision:Integer.t -> ?scale:Integer.t -> ?schemaName:String_.t -> ?tableName:String_.t -> ?typeName:String_.t -> ?length:Integer.t -> ?columnDefault:String_.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Bool_.t | `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