// Construct an abstract querySelectquery = table("mountain").qb.select(count("*"));
// Build the query with the query builder of your choice (e.g. [oceandrift.db.sqlite3.SQLite3] when using SQLite3)BuiltQuerybuiltQuery = QueryBuilder.build(query);
// Prepare a statement from your query by calling [prepareBuiltQuery]Statementstmt = db.prepareBuiltQuery(builtQuery);
stmt.execute();
// …
// More idiomatic way using UFCS:BuiltQuerybuiltQuery = table("mountain").qb
.select(count("*"))
.build!QueryCompiler()
;
// Query building works during compile-time as well(!):enumBuiltQuerybq = table("mountain").qb
.select(count("*"))
.build!QueryCompiler()
;
Built query as generated by a QueryBuilder
or in other words: the result of query building