-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
38 changed files
with
213 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Async support for Caqti |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
opam-version: "1.2" | ||
name: "caqti-async" | ||
author: "Petter A. Urkedal <paurkedal@gmail.com>" | ||
maintainer: "Petter A. Urkedal <paurkedal@gmail.com>" | ||
homepage: "https://github.com/paurkedal/ocaml-caqti/" | ||
bug-reports: "https://github.com/paurkedal/ocaml-caqti/issues" | ||
dev-repo: "https://github.com/paurkedal/ocaml-caqti.git" | ||
license: "LGPL-3 with OCaml linking exception" | ||
|
||
build: [["jbuilder" "build" "-p" name "-j" jobs]] | ||
build-test: [["jbuilder" "runtest" "-p" name "-j" jobs]] | ||
|
||
depends: [ | ||
"async" {>= "v0.11.0"} | ||
"caqti" {= "0.11.0"} | ||
"caqti-dynload" {test & = "0.11.0"} | ||
"caqti-driver-sqlite3" {test & = "0.11.0"} | ||
"core" | ||
"jbuilder" {build & >= "1.0+beta19"} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
archive: "https://github.com/paurkedal/ocaml-caqti/releases/download/v0.11.0/caqti-0.11.0.tbz" | ||
checksum: "f749fd41e5c20d20a315f257f6ec7128" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
packages/caqti-driver-mariadb/caqti-driver-mariadb.0.11.0/descr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
MariaDB driver for Caqti using C bindings |
17 changes: 17 additions & 0 deletions
17
packages/caqti-driver-mariadb/caqti-driver-mariadb.0.11.0/opam
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
opam-version: "1.2" | ||
name: "caqti-driver-mariadb" | ||
author: "Petter A. Urkedal <paurkedal@gmail.com>" | ||
maintainer: "Petter A. Urkedal <paurkedal@gmail.com>" | ||
homepage: "https://github.com/paurkedal/ocaml-caqti/" | ||
bug-reports: "https://github.com/paurkedal/ocaml-caqti/issues" | ||
dev-repo: "https://github.com/paurkedal/ocaml-caqti.git" | ||
license: "LGPL-3 with OCaml linking exception" | ||
|
||
build: [["jbuilder" "build" "-p" name "-j" jobs]] | ||
build-test: [["jbuilder" "runtest" "-p" name "-j" jobs]] | ||
|
||
depends: [ | ||
"caqti" {= "0.11.0"} | ||
"jbuilder" {build & >= "1.0+beta19"} | ||
"mariadb" {>= "0.10"} | ||
] |
2 changes: 2 additions & 0 deletions
2
packages/caqti-driver-mariadb/caqti-driver-mariadb.0.11.0/url
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
archive: "https://github.com/paurkedal/ocaml-caqti/releases/download/v0.11.0/caqti-0.11.0.tbz" | ||
checksum: "f749fd41e5c20d20a315f257f6ec7128" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
packages/caqti-driver-postgresql/caqti-driver-postgresql.0.11.0/descr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
PostgreSQL driver for Caqti based on C bindings |
17 changes: 17 additions & 0 deletions
17
packages/caqti-driver-postgresql/caqti-driver-postgresql.0.11.0/opam
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
opam-version: "1.2" | ||
name: "caqti-driver-postgresql" | ||
author: "Petter A. Urkedal <paurkedal@gmail.com>" | ||
maintainer: "Petter A. Urkedal <paurkedal@gmail.com>" | ||
homepage: "https://github.com/paurkedal/ocaml-caqti/" | ||
bug-reports: "https://github.com/paurkedal/ocaml-caqti/issues" | ||
dev-repo: "https://github.com/paurkedal/ocaml-caqti.git" | ||
license: "LGPL-3 with OCaml linking exception" | ||
|
||
build: [["jbuilder" "build" "-p" name "-j" jobs]] | ||
build-test: [["jbuilder" "runtest" "-p" name "-j" jobs]] | ||
|
||
depends: [ | ||
"caqti" {= "0.11.0"} | ||
"jbuilder" {build & >= "1.0+beta19"} | ||
"postgresql" | ||
] |
2 changes: 2 additions & 0 deletions
2
packages/caqti-driver-postgresql/caqti-driver-postgresql.0.11.0/url
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
archive: "https://github.com/paurkedal/ocaml-caqti/releases/download/v0.11.0/caqti-0.11.0.tbz" | ||
checksum: "f749fd41e5c20d20a315f257f6ec7128" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
packages/caqti-driver-sqlite3/caqti-driver-sqlite3.0.11.0/descr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Sqlite3 driver for Caqti using C bindings |
17 changes: 17 additions & 0 deletions
17
packages/caqti-driver-sqlite3/caqti-driver-sqlite3.0.11.0/opam
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
opam-version: "1.2" | ||
name: "caqti-driver-sqlite3" | ||
author: "Petter A. Urkedal <paurkedal@gmail.com>" | ||
maintainer: "Petter A. Urkedal <paurkedal@gmail.com>" | ||
homepage: "https://github.com/paurkedal/ocaml-caqti/" | ||
bug-reports: "https://github.com/paurkedal/ocaml-caqti/issues" | ||
dev-repo: "https://github.com/paurkedal/ocaml-caqti.git" | ||
license: "LGPL-3 with OCaml linking exception" | ||
|
||
build: [["jbuilder" "build" "-p" name "-j" jobs]] | ||
build-test: [["jbuilder" "runtest" "-p" name "-j" jobs]] | ||
|
||
depends: [ | ||
"caqti" {= "0.11.0"} | ||
"jbuilder" {build & >= "1.0+beta19"} | ||
"sqlite3" | ||
] |
2 changes: 2 additions & 0 deletions
2
packages/caqti-driver-sqlite3/caqti-driver-sqlite3.0.11.0/url
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
archive: "https://github.com/paurkedal/ocaml-caqti/releases/download/v0.11.0/caqti-0.11.0.tbz" | ||
checksum: "f749fd41e5c20d20a315f257f6ec7128" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
Dynamic linking of Caqti drivers using findlib.dynload. | ||
|
||
This library registers a dynamic linker which will be called when | ||
encoutering an unhandled database URI. It tries to load a findlib package | ||
named "caqti-driver-<scheme>" where "<scheme>" is the scheme of the URI, | ||
which is expected register a driver for the scheme. | ||
|
||
This is a separate package to avoid the dependency on the findlib.dynload | ||
for architectures, like MirageOS, where dynamic linking may be unavailable. | ||
The alternative is to link drivers directly into the application. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
opam-version: "1.2" | ||
name: "caqti-dynload" | ||
author: "Petter A. Urkedal <paurkedal@gmail.com>" | ||
maintainer: "Petter A. Urkedal <paurkedal@gmail.com>" | ||
homepage: "https://github.com/paurkedal/ocaml-caqti/" | ||
bug-reports: "https://github.com/paurkedal/ocaml-caqti/issues" | ||
dev-repo: "https://github.com/paurkedal/ocaml-caqti.git" | ||
license: "LGPL-3 with OCaml linking exception" | ||
|
||
build: [["jbuilder" "build" "-p" name "-j" jobs]] | ||
build-test: [["jbuilder" "runtest" "-p" name "-j" jobs]] | ||
|
||
depends: [ | ||
"caqti" {= "0.11.0"} | ||
"jbuilder" {build & >= "1.0+beta19"} | ||
"ocamlfind" | ||
] | ||
available: [ocaml-version >= "4.04.0"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
archive: "https://github.com/paurkedal/ocaml-caqti/releases/download/v0.11.0/caqti-0.11.0.tbz" | ||
checksum: "f749fd41e5c20d20a315f257f6ec7128" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Lwt support for Caqti |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
opam-version: "1.2" | ||
name: "caqti-lwt" | ||
author: "Petter A. Urkedal <paurkedal@gmail.com>" | ||
maintainer: "Petter A. Urkedal <paurkedal@gmail.com>" | ||
homepage: "https://github.com/paurkedal/ocaml-caqti/" | ||
bug-reports: "https://github.com/paurkedal/ocaml-caqti/issues" | ||
dev-repo: "https://github.com/paurkedal/ocaml-caqti.git" | ||
license: "LGPL-3 with OCaml linking exception" | ||
|
||
build: [["jbuilder" "build" "-p" name "-j" jobs]] | ||
build-test: [["jbuilder" "runtest" "-p" name "-j" jobs]] | ||
|
||
depends: [ | ||
"caqti" {= "0.11.0"} | ||
"caqti-dynload" {test & = "0.11.0"} | ||
"caqti-driver-sqlite3" {test & = "0.11.0"} | ||
"jbuilder" {build & >= "1.0+beta19"} | ||
"logs" | ||
"lwt" {>= "3.2.0"} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
archive: "https://github.com/paurkedal/ocaml-caqti/releases/download/v0.11.0/caqti-0.11.0.tbz" | ||
checksum: "f749fd41e5c20d20a315f257f6ec7128" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Date and time field types using the calendar library. |
17 changes: 17 additions & 0 deletions
17
packages/caqti-type-calendar/caqti-type-calendar.0.11.0/opam
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
opam-version: "1.2" | ||
name: "caqti-type-calendar" | ||
author: "Petter A. Urkedal <paurkedal@gmail.com>" | ||
maintainer: "Petter A. Urkedal <paurkedal@gmail.com>" | ||
homepage: "https://github.com/paurkedal/ocaml-caqti/" | ||
bug-reports: "https://github.com/paurkedal/ocaml-caqti/issues" | ||
dev-repo: "https://github.com/paurkedal/ocaml-caqti.git" | ||
license: "LGPL-3 with OCaml linking exception" | ||
|
||
build: [["jbuilder" "build" "-p" name "-j" jobs]] | ||
build-test: [["jbuilder" "runtest" "-p" name "-j" jobs]] | ||
|
||
depends: [ | ||
"caqti" {= "0.11.0"} | ||
"calendar" | ||
"jbuilder" {build & >= "1.0+beta19"} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
archive: "https://github.com/paurkedal/ocaml-caqti/releases/download/v0.11.0/caqti-0.11.0.tbz" | ||
checksum: "f749fd41e5c20d20a315f257f6ec7128" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
Unified interface to relational database libraries | ||
|
||
Caqti provides a monadic cooperative-threaded OCaml connector API for | ||
relational databases. | ||
|
||
The purpose of Caqti is further to help make applications independent of a | ||
particular database system. This is achieved by defining a common signature, | ||
which is implemented by the database drivers. Connection parameters are | ||
specified as an URI, which is typically provided at run-time. Caqti then | ||
loads a driver which can handle the URI, and provides a first-class module | ||
which implements the driver API and additional convenience functionality. | ||
|
||
Caqti does not make assumptions about the structure of the query language, | ||
and only provides the type information needed at the edges of communication | ||
between the OCaml code and the database; i.e. for encoding parameters and | ||
decoding returned tuples. It is hoped that this agnostic choice makes it a | ||
suitable target for higher level interfaces and code generators. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
opam-version: "1.2" | ||
name: "caqti" | ||
author: "Petter A. Urkedal <paurkedal@gmail.com>" | ||
maintainer: "Petter A. Urkedal <paurkedal@gmail.com>" | ||
homepage: "https://github.com/paurkedal/ocaml-caqti/" | ||
bug-reports: "https://github.com/paurkedal/ocaml-caqti/issues" | ||
dev-repo: "https://github.com/paurkedal/ocaml-caqti.git" | ||
license: "LGPL-3 with OCaml linking exception" | ||
|
||
build: [["jbuilder" "build" "-p" name "-j" jobs]] | ||
build-test: [["jbuilder" "runtest" "-p" name "-j" jobs]] | ||
|
||
depends: [ | ||
"jbuilder" {build & >= "1.0+beta19"} | ||
"logs" | ||
"ocamlfind" {build} | ||
"ptime" | ||
"uri" {>= "1.9.0"} | ||
] | ||
available: [ocaml-version >= "4.04.0"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
archive: "https://github.com/paurkedal/ocaml-caqti/releases/download/v0.11.0/caqti-0.11.0.tbz" | ||
checksum: "f749fd41e5c20d20a315f257f6ec7128" |