The code of the SQL script.
A delegate to call for each statement to handle the results. The passed ResultRange will be empty if a statement doesn't return rows. If the delegate return false, the execution is aborted.
1 auto db = Database(":memory:"); 2 db.run(`CREATE TABLE test1 (val INTEGER); 3 CREATE TABLE test2 (val FLOAT); 4 DROP TABLE test1; 5 DROP TABLE test2;`);
Runs an SQL script that can contain multiple statements.