Function Statement.empty

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

bool empty() pure nothrow @nogc @safe const;

Example

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