Statement.empty

Tells whether the statement is empty (no SQL statement).

struct Statement
const @safe pure nothrow @nogc
bool
empty
()

Examples

auto db = Database(":memory:");
auto statement = db.prepare(" ; ");
assert(statement.empty);

Meta