sqlcli: Bindings for SQL/CLI (ODBC) C API.

[ bsd3, database, library ] [ Propose Tags ]

See NEWS for the ChangeLog. Provides bindings to all the SQL/CLI C API standard. SQL/CLI C API is a subset of ODBC. You can use this package to access databases through ODBC. It is tested on Windows, Linux and Mac operating Systems whith Postgres, Oracle and SQLite. This package also contains Haskell wrapers to the foreign C calls and utilities to make using the SQL/CLI easier for the Haskell programmer. You can use this to acces any database through ODBC.


[Skip to Readme]
Versions [faq] 0.1.0.0, 0.2.0.0, 0.2.0.1, 0.2.1.0, 0.2.2.0
Change log ChangeLog
Dependencies base (>=4.7 && <5), logging (>=3.0 && <4), text (>=0.11.3.1), transformers (==0.5.*) [details]
License BSD-3-Clause
Copyright 2017 Mihai Giurgeanu
Author Mihai Giurgeanu
Maintainer mihai.giurgean@gmail.com
Category Database
Home page http://hub.darcs.net/mihaigiurgeanu/sqlcli
Source repo head: darcs get http://hub.darcs.net/mihaigiurgeanu/sqlcli
Uploaded by mihaigiurgeanu at 2020-05-07T08:50:15Z
Distributions NixOS:0.2.2.0
Downloads 1660 total (60 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs uploaded by user [build log]
All reported builds failed as of 2020-05-07 [all 3 reports]

Modules

[Index] [Quick Jump]

Flags

NameDescriptionDefaultType
odbc

Compile against ODBC library

EnabledAutomatic

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for sqlcli-0.2.2.0

[back to package description]

sqlcli

NEWS

A library wrapping X/Open's SQL/CLI specification for C bindings. This project aims to become the de facto library for implementing ODBC database access in Haskell.

The most available implementation of the SQL/CLI standard is ODBC 3.0. You need the SQL/CLI documentation or ODBC Programmer's Refference in order to know how to use the functions in this package.

ODBC is a super set of the SQL/CLI specification. All calls in the SQL/CLI are supported by the ODBC drivers. You can use this library to connect to databases to support ODBC. The library is tested with Oracle and Postgres ODBC drivers.

If you want to connect to ODBC, you should also use the calls and definitios of the sqlcli-odbc package.

The SQL.CLI module contains all the foreign function calls, constants and types defined by the SQL/CLI specificaition. You can this module, but it is rather low level. A better choice would be to start working with the calls in the SQL.CLI.Utils module.

SQL.CLI.Utils module contains wrappers to SQL/CLI function calls that make easier to treat the error cases and deal with the SQL/CLI diagnostic as well as other useful constructs in calling SQL/CLI API.

Change Log

We are using the GNU guides for documenting the changes in our project. You can see the summary of changes in the NEWS.