ocaml-community / ocaml-mariadb

OCaml bindings to MariaDB, supporting the nonblocking API
55 stars 18 forks source link

Expose sqlstate in the connection and stmt APIs. #42

Open paurkedal opened 3 years ago

paurkedal commented 3 years ago

Due to the large number of individual error codes in MariaDB, this will help unify errors from different database backends in Caqti (paurkedal/ocaml-caqti#72).

paurkedal commented 1 month ago

Rebased on master. The test code should be moved to the correct place when #60 is merged, so I've marked this as draft for now.