BSD-3-Clause licensed by Bryan O'Sullivan
Maintained by Paul Rouse
This version can be pinned in stack with:mysql-simple-0.4.8@sha256:fa603d727d663f0cf276b85f2bb034e7ad84449e8305840f2ce3b77422274cdb,2781

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, [email protected], to whom all of the credit is due. It is now being maintained by Paul Rouse, [email protected].

Changes

0.4.8

  • Provide classes to simplify user-defined encoding and decoding of columns.

0.4.7.2

0.4.7.1

0.4.7

0.4.6

0.4.5

  • Add Semigroup instance for Query
  • Add a (Param a) => Param (In (Set a)) instance.
  • Drop testing under GHC 7.8 / lts-2

0.4.4

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

0.4.3

0.4.2.0

0.4.1.0

0.4.0.1

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.