package freetds

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type dbprocess
val connect : user:string option -> password:string option -> server:string -> dbprocess
val close : dbprocess -> unit
val use : dbprocess -> string -> unit
val name : dbprocess -> string
val sqlexec : dbprocess -> string -> unit
val cancel : dbprocess -> unit
val canquery : dbprocess -> unit
val results : dbprocess -> bool
val numcols : dbprocess -> int
val colname : dbprocess -> int -> string
type col_type =
  1. | SYBCHAR
  2. | SYBVARCHAR
  3. | SYBINTN
  4. | SYBINT1
  5. | SYBINT2
  6. | SYBINT4
  7. | SYBINT8
  8. | SYBFLT8
  9. | SYBFLTN
  10. | SYBNUMERIC
  11. | SYBDECIMAL
  12. | SYBDATETIME
  13. | SYBDATETIME4
  14. | SYBDATETIMN
  15. | SYBBIT
  16. | SYBTEXT
  17. | SYBIMAGE
  18. | SYBMONEY4
  19. | SYBMONEY
  20. | SYBMONEYN
  21. | SYBREAL
  22. | SYBBINARY
  23. | SYBVARBINARY
val string_of_col_type : col_type -> string
val coltype : dbprocess -> int -> col_type
type data =
  1. | NULL
  2. | STRING of string
  3. | TINY of int
  4. | SMALL of int
  5. | INT of int
  6. | INT32 of int32
  7. | INT64 of string
  8. | FLOAT of float
  9. | DATETIME of int * int * int * int * int * int * int * int
  10. | MONEY of float
  11. | BIT of bool
  12. | BINARY of string
  13. | NUMERIC of string
  14. | DECIMAL of string
val string_of_data : data -> string
val nextrow : dbprocess -> data list
val count : dbprocess -> int
OCaml

Innovation. Community. Security.