rightJoin<OR> method
SelectFromBuilder<S, R, (R0?, R1?, R2?, R3?, R4?, R5?, R6?, R7?, R8?, R9?, R10?, R11?, R12?, R13?, R14?, R15?, R16?, R17?, R18?, OR)>
rightJoin<OR>(})
Add a right join clause of the builder.
Implementation
SelectFromBuilder<
S,
R,
(
R0?,
R1?,
R2?,
R3?,
R4?,
R5?,
R6?,
R7?,
R8?,
R9?,
R10?,
R11?,
R12?,
R13?,
R14?,
R15?,
R16?,
R17?,
R18?,
OR
)> rightJoin<OR>(
Schema<OR> table, {
required Filter on,
}) {
final result = config.selecting! as SelectableResult;
final o = table.$;
return SelectFromBuilder(
executor,
config: config.copyWith({
#selecting: SelectableResult<
(
R0?,
R1?,
R2?,
R3?,
R4?,
R5?,
R6?,
R7?,
R8?,
R9?,
R10?,
R11?,
R12?,
R13?,
R14?,
R15?,
R16?,
R17?,
R18?,
OR
)>([...result.selected, o]),
#joins: [
...config.joins,
RightJoin<Schema<OR>, OR>(o, on: on),
],
}),
);
}