package caqti
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=8f6c1724b59ac22a5c657c9e53b9a1706e39ecd462e82958b0cea88e43f0aba7
sha512=75b968ab37ae94cadcaabbcce0f91b1ffa4334ed69e441bdeb823077eb7675264282efb0fab3baaaad446582cfb427769e19f22c8c194a316ac2248c3fba5cf8
doc/caqti.template/Caqti_template/Dialect/index.html
Module Caqti_template.DialectSource
Identification of SQL Dialects and Related Information
This type identifies the SQL dialect and other differences which may be relevant when composing query strings. This is an open type to allow future additions, either defined below or externally. Each case has the form of a constructor identifying the software which interprets the SQL code and its version number, if available, followed by any backend-specific details.
type t += private | Pgsql of {server_version : Version.t;(*The version number of the server, currently only available when using caqti-driver-postgresql.
*)client_library : [ `postgresql | `pgx ];(*Which client library is being used to communicate with the server.
*)
}(*Identifies the backend as a PostgreSQL server.
*)| Mysql of {server_version : Version.t;(*The version number of the server, but curretly unavailable, awaiting ocaml-mariadb support.
*)
}(*Identifies the backend as a MariaDB or MySQL server. No information is currently provided about the variant and version.
*)| Sqlite of {server_version : Version.t;(*The version number of the Sqlite3 library.
*)
}(*Identifies the backend as an Sqlite3 library.
*)| Unknown of {}(*The query is to be used for logging or other display purposes, and no information is been provided about a potential SQL backend.
*)