Description Usage Arguments See Also
Build a query the joins 2 tables, respectively aliased as a
and b
in the query itself.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | build_join_query(
select_table_fields = "*",
select_join_on_fields = "*",
distinct = FALSE,
schema,
table,
column,
join_on_schema,
join_on_table,
join_on_column,
kind = c("LEFT", "RIGHT", "INNER", "FULL"),
where_in_field,
where_in_vector,
where_in_join_on_field,
where_in_join_on_vector,
where_not_in_field,
where_not_in_vector,
where_not_in_join_on_field,
where_not_in_join_on_vector,
where_is_null_field,
where_is_not_null_field,
where_is_null_join_on_field,
where_is_not_null_join_on_field,
case_insensitive,
limit,
random
)
|
select_table_fields |
The fields to select for in the first table |
select_join_on_fields |
The fields to select for in the table being join to the first table |
distinct |
If TRUE, the distinct row count will be returned. |
schema |
The target schema for the operation. |
table |
Target table for the operation. |
column |
Column to join on. |
join_on_schema |
Schema of the table that is being joined to the first table. |
join_on_table |
Table that is being joined to the first table. |
join_on_column |
Column in the |
kind |
Type of join. Defaults to left, and options include "LEFT", "RIGHT", "INNER", or "FULL" |
where_in_field |
Paired with |
where_not_in_field |
Paired with |
case_insensitive |
If TRUE, both sides of the query are converted to lowercase. |
limit |
(Optional) Integer of the row limit. Takes precedence over |
random |
(Optional) Integer of the random number of rows to return. Is preceded by |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.