isQueryCompiler

Determines whether T is a valid SQL “Query Compiler” implementation

struct MyDatabaseDriver
{
    // […]

@safe pure:
    static BuiltQuery build(const Select selectQuery);
    static BuiltQuery build(const Update updateQuery);
    static BuiltQuery build(const Insert insertQuery);
    static BuiltQuery build(const Delete deleteQuery);
}

static assert(isQueryCompiler!MyDatabaseDriver);
@safe pure
enum bool isQueryCompiler(T);

Meta