SQL database interfaces for Standard ML
The name and code for these taken together are pretty self-explanatory, I think. The only client implementation in here now is a libpq-based PostgreSQL client that uses the SML/NJ NLFFI.
Source code for signatures
SQL_DRIVER: the basic functionality you need to implement to use a new client
SQL_CLIENT: some additional functionality defined in terms of drivers that you can implement directly or build with a functor