These are methods for the dplyr generics dplyr::intersect()
,
dplyr::union()
, and dplyr::setdiff()
. They are translated to
INTERSECT
, UNION
, and EXCEPT
respectively.
Arguments
- x, y
A pair of lazy data frames backed by database queries.
- copy
If
x
andy
are not from the same data source, andcopy
isTRUE
, theny
will be copied into a temporary table in same database asx
.*_join()
will automatically runANALYZE
on the created table in the hope that this will make you queries as efficient as possible by giving more data to the query planner.This allows you to join tables across srcs, but it's potentially expensive operation so you must opt into it.
- ...
Not currently used; provided for future extensions.
- all
If
TRUE
, includes all matches in output, not just unique rows.