Module Values.ColumnMetadataSource

Contains the metadata for a column.

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

    The name of the column.

    *)
  2. type_ : Integer.t option;
    (*

    The type of the column.

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

    The database-specific data type of the column.

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

    The label for the column.

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

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

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

    The name of the table that includes the column.

    *)
  7. isAutoIncrement : Boolean.t option;
    (*

    A value that indicates whether the column increments automatically.

    *)
  8. isSigned : Boolean.t option;
    (*

    A value that indicates whether an integer column is signed.

    *)
  9. isCurrency : Boolean.t option;
    (*

    A value that indicates whether the column contains currency values.

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

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

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

    A value that indicates whether the column is nullable.

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

    The precision value of a decimal number column.

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

    The scale value of a decimal number column.

    *)
  14. arrayBaseColumnType : Integer.t option;
    (*

    The type of the column.

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