MongoDB · Types · Queries
ArxJoinOperator
Definition
- Namespace
ARX.SDK.Query- Package
ARX.SDK
public enum ArxJoinOperatorThe join a link entity makes: Inner, Left or Right. Default joins as Inner. (Named INNER, LEFT, RIGHT and DEFAULT before 1.0.0-rc.1.)
Values
DefaultNo join kind given: an inner join.
InnerOnly rows that have a match in the linked table.
LeftEvery row of the query's table, with the linked table's columns null where nothing matches.
RightEvery row of the linked table, with the query's columns null where nothing matches (not on MongoDB).
Usage
A line from a verified sample; the full, runnable code is on its page.
var link = query.AddLink("account", "account_id", "account_id", ArxJoinOperator.Inner);Read an account with its contacts, scenario 2
Used in:
- Read an account with its contactsRetrieveMultiple