Database.execute

Executes a single SQL statement and returns the results directly. It's the equivalent of prepare(sql).execute().

The results become undefined when the Database goes out of scope and is destroyed.

struct Database
execute
(
string sql
)

Examples

auto db = Database(":memory:");
db.execute("VACUUM");

Meta