Statement.empty

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

struct Statement
private package(d2sqlite3) public const @safe pure nothrow @nogc
bool
empty
()

Examples

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

Meta