My use case is that I have schema.sql file with ~10 tables of different sizes. But when I read this file as a String and execute it via execute_ command it doesn't work properly. I can create my schema only by writing 10 calls directly in Haskell code (which is not that convenient).
It would be really nice if mysql-haskell library could support execute_ that can execute multiple commands from .sql file.
My use case is that I have
schema.sqlfile with ~10 tables of different sizes. But when I read this file as aStringand execute it viaexecute_command it doesn't work properly. I can create my schema only by writing 10 calls directly in Haskell code (which is not that convenient).It would be really nice if
mysql-haskelllibrary could supportexecute_that can execute multiple commands from.sqlfile.