QueryClause class

Renders a whole Query, every clause in weight order, into the context it is given.

The context matters more than it looks. Bind placeholders are numbered from how many values the context has already collected, so a nested query has to share the outer one's context or it restarts at the first placeholder and silently renumbers everything after it. Rendering through this clause is what keeps a subquery's binds interleaved with its parent's.

Inheritance

Constructors

QueryClause(Query query)
Creates a clause that renders query.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
query Query
The query to render.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
render(RenderContext context) String
Renders this clause to SQL text, recording any bind values on context.
override
toString() String
A string representation of this object.
inherited

Operators

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