Skip to main content

RightOuterJoin

A Join subclass that hard-codes JoinType.RIGHT_OUTER, rendering right outer join. See the Joins guide for a full walkthrough.

Constructor

RightOuterJoin(table: string | TableName | Select | Raw): RightOuterJoin
new RightOuterJoin(table: string | TableName | Select | Raw): RightOuterJoin

Dual-callable. Equivalent to Join(JoinType.RIGHT_OUTER, table).

import { RightOuterJoin, Select } from '@sqb/builder';

Select().from('t1').join(RightOuterJoin('t2'));
// ... right outer join t2

Properties

Inherits every property from Join (_type, _joinType, _table, _conditions); _joinType is always JoinType.RIGHT_OUTER.

Methods

Inherits .on() from Join; RightOuterJoin adds no methods of its own.

See also