Closed sqd closed 8 years ago
I totally understand why Query is not exposed as a ByteString. But now I want to create databases dynamically, and execute "CREATE DATABASE ?;" would add quotation marks around the databases' names, which is not allowed by MySQL.
Query
ByteString
execute "CREATE DATABASE ?;"
BTW, dynamically creating tables is impossible due to the same reason.
OK, so the Query raw constructor is in Database.MySQL.Simple.Types
Database.MySQL.Simple.Types
I totally understand why
Query
is not exposed as aByteString
. But now I want to create databases dynamically, andexecute "CREATE DATABASE ?;"
would add quotation marks around the databases' names, which is not allowed by MySQL.