Skip to main content

QB_Join

of

Conctructs an QB_Join.

Signature

static QB_Join of(sObjectType ofObject)

Example

QS.Join.of(Account.sObjectType)
QS.Join.of(Contact.sObjectType)

field

SELECT statement that specifies the fields to query.

Signature

static QB_Join field(sObjectField field)

Example

QS.Join.of(Contact.sObjectType).field(Contact.Account.Id)

where

The condition expression in a WHERE clause of a SOQL query includes one or more field expressions. You can specify multiple field expressions in a condition expression by using logical operators.

For more details check QB.ConditionsGroup and QB.Condition

Signature

static QB_Join whereAre(QB_ConditionsGroup conditions)

Example

QS.Join.of(Contact.sObjectType)
.whereAre(QS.Condition.field(Contact.Name).equal('My Contact'))