paurkedal / ocaml-caqti

Cooperative-threaded access to relational data
https://paurkedal.github.io/ocaml-caqti/index.html
GNU Lesser General Public License v3.0
299 stars 36 forks source link

What's the difference between caqti-eio and caqti-eio.unix? #102

Closed dangdennis closed 1 year ago

dangdennis commented 1 year ago

Excuse the ignorance. But when is it okay to use just caqti-eio as opposed caqti-eio.unix?

Couple days ago I learned I had to use the unix version instead due to some error. I forgot the exact details of why now.

paurkedal commented 1 year ago

The difference is that the caqti-eio.unix links against eio.unix to provide functionality required by mariadb, postgresql, and sqlite3, otherwise only pgx is supported.

dangdennis commented 1 year ago

thank you