SqlQueryDefinition<R, F extends Fields> class
final
Generated query definitions reuse table fields and the ordinary Query compiler. Their CTE source makes table mutations invalid before execution.
Constructors
-
SqlQueryDefinition(Table<
R, F> result, Map<SqlDialect, SqlTemplate> sql) - Combines a typed result declaration with trusted engine-specific SQL.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
result
→ Table<
R, F> -
Declared result columns, codecs, and row decoder.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
sql
→ Map<
SqlDialect, SqlTemplate> -
Immutable SQL variants keyed by their target database engine.
final
Methods
-
bind(
QueryContext db, Map< String, Expr< arguments) → Query<Object?> >R, F> -
Creates a query bound to
db, without executing its SQL source. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited