mysql-simple

A mid-level MySQL client library. https://github.com/paul-rouse/mysql-simple

Version on this page:0.2.2.4
LTS Haskell 9.10:0.4.4
Stackage Nightly 2017-10-22:0.4.4
Latest on Hackage:0.4.4
BSD3 licensed by Bryan O'Sullivan
Maintained by Paul Rouse

Module documentation for 0.2.2.4

There are no documented modules for this package.

mysql-simple: mid-level bindings to the mysqlclient library

This library is a mid-level Haskell binding to the MySQL mysqlclient client library. It is aimed at speed and ease of use.

Licensing

This library is BSD-licensed under the terms of the MySQL FOSS License Exception.

Since this library links against the GPL-licensed mysqlclient library, a non-open-source application that uses it may be subject to the terms of the GPL.

To do

  • Add support for prepared statements. This API is huge and of dubious performance worth, so it's not currently a priority for me. Patches welcome!

Get involved!

We are happy to receive bug reports, fixes, documentation enhancements, and other improvements.

Please report bugs via the github issue tracker.

Master git repository:

  • git clone git://github.com/paul-rouse/mysql-simple.git

Authors

This library was written by Bryan O'Sullivan, , to whom all of the credit is due. It is now being maintained by Paul Rouse, .

Changes

0.4.4

  • Report table name and database in the UnexpectedNull case of ResultError, using the previously empty errMessage field

0.4.3

  • Use Data.Time.Format to parse TimeOfDay results properly (missing in https://github.com/paul-rouse/mysql-simple/pull/37).

0.4.2.0

  • Handle fractional seconds in parameter substitution (without affecting cases where only whole seconds are used). https://github.com/paul-rouse/mysql-simple/pull/40

0.4.1.0

  • Add missing tuple instances of QueryResults (https://github.com/paul-rouse/mysql-simple/issues/9)
  • Fix error "foo" left in code (https://github.com/paul-rouse/mysql-simple/issues/39)
  • Allow fractional seconds in to be parsed in date/time results https://github.com/paul-rouse/mysql-simple/pull/37

0.4.0.1

  • Fix https://github.com/paul-rouse/mysql-simple/issues/35

0.4.0.0

  • Add type VaArgs for non-parenthesized variable-length list of parameters.
  • Include fieldName in other constructors of ResultError.

0.3.0.0

  • New maintainer and GitHub location - with many thanks to Bryan O'Sullivan for all of the past work on this module, and for facilitating the transfer of maintenance responsibility.
  • Extra instances of QueryParams for larger tuples.
  • Include fieldName in ResultError in the case of the Incompatible constructor.

The changes to ResultError and QueryParams were previously unreleased, although present in the GitHub repository. They are the reason for the major version bump.

comments powered byDisqus