How to construct raw SQL when it's really necessary?
sqd opened this issue · 2 comments
sqd commented
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.
sqd commented
BTW, dynamically creating tables is impossible due to the same reason.
sqd commented
OK, so the Query
raw constructor is in Database.MySQL.Simple.Types