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.
Constructors
- QueryClause(Query query)
-
Creates a clause that renders
query.const
Properties
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