Query<T extends HasResultSet, D> class abstract

Statement that operates with data that already exists (select, delete, update).



Query(DatabaseConnectionUser database, ResultSetImplementation<T, D> table)
Used internally by drift. Users should use the appropriate methods on DatabaseConnectionUser instead.


database DatabaseConnectionUser
The database this statement should be sent to.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
limitExpr Limit?
The LIMIT clause for this statement.
getter/setter pair
orderByExpr OrderBy?
The ORDER BY clause for this statement
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
table ResultSetImplementation<T, D>
The (main) table or view that this query operates on.
getter/setter pair
whereExpr Where?
The WHERE clause for this statement
getter/setter pair
writeReturningClause bool
Whether a RETURNING * clause should be added to this statement.
getter/setter pair


constructQuery() GenerationContext
Constructs the query that can then be sent to the database executor.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
toString() String
A string representation of this object.
writeInto(GenerationContext context) → void
Writes this component into the context by writing to its GenerationContext.buffer or by introducing bound variables. When writing into the buffer, no whitespace around the this component should be introduced. When a component consists of multiple composed component, it's responsible for introducing whitespace between its child components.
writeStartPart(GenerationContext ctx) → void
Subclasses must override this and write the part of the statement that comes before the where and limit expression..


operator ==(Object other) bool
The equality operator.