mysql-simple icon indicating copy to clipboard operation
mysql-simple copied to clipboard

A mid-level client library for the MySQL database, intended to be fast and easy to use.

Results 26 mysql-simple issues
Sort by recently updated
recently updated
newest added

Currently, the template `INSERT INTO table (a, b) VALUES (?, UNIX_TIMESTAMP(?))` fails in formatError with the message "foo". Obviously, the regex used in formatError can't match the the '?' characters...

See the following GHCI session: ``` Prelude Database.MySQL.Simple Database.MySQL.Base Base> conn execute_ conn "SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT" 0 Prelude Database.MySQL.Simple Database.MySQL.Base Base> execute_ conn "SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT" 0 Prelude Database.MySQL.Simple Database.MySQL.Base Base> execute_...

If I ``` create table coldcnt (timestamp datetime, value int); ``` then the `value` field is only representable as Double, Float or Rational. This is counterintuitive and probably wrong (i.e....

When `cabal install`-ing on a relatively fresh (as of 2015-12) system, there is a warning: ``` Database/MySQL/Simple/Result.hs:31:1: Warning: Module ‘Data.Attoparsec.Char8’ is deprecated: This module will be removed in the next...

Currently, mysql-simple only supports query substitution on values, but it would be nice to support table names and field names as well.

I'm attempting to use `mysql-simple` with a stack project. When I run `stack build` I get the following: ``` $ stack build 0@14:48:48 pcre-light-0.4.0.4: configure Progress: 1/3 -- While building...

Take actual parsing or regex matching out of the equation for extracting substitution groups from query templates. Makes substitution groups more permissive wrt. to MySQL functions and removes pcre-light dependency.

Is it possible to include Bit along with Tiny in list of types compatible with Bool? Is this undesirable or foolhardy for some reason?

No instance for (Database.MySQL.Simple.QueryParams.QueryParams (In [Int])) arising from a use of `query' Possible fix: add an instance declaration for (Database.MySQL.Simple.QueryParams.QueryParams (In [Int])) In a stmt of a 'do' expression: strs

This removes the dependency on libpcre in order to make deployment slightly easier (See #12)