RightJoin
A Join subclass that hard-codes JoinType.RIGHT, rendering right join. See the
Joins guide for a full walkthrough.
Constructor
RightJoin(table: string | TableName | Select | Raw): RightJoin
new RightJoin(table: string | TableName | Select | Raw): RightJoin
Dual-callable. Equivalent to Join(JoinType.RIGHT, table).
import { RightJoin, Select } from '@sqb/builder';
Select().from('t1').join(RightJoin('t2'));
// ... right join t2
Properties
Inherits every property from Join (_type, _joinType, _table,
_conditions); _joinType is always JoinType.RIGHT.
Methods
Inherits .on() from Join; RightJoin adds no methods of its own.