reduce.database_schema | R Documentation |
Filters a database schema's relations, keeping only the given relations, and those considered ancestors via foreign key references. Foreign key references involving removed relations are also removed.
## S3 method for class 'database_schema'
reduce(x, main, ...)
x |
A database schema, whose relations are to be filtered. |
main |
A character vector, containing names of relations to be considered as the "main" relations. |
... |
further arguments passed to or from other methods. |
This method takes a given set of main relations, rather than inferring them.
Using rejoin
on the database resulting from decomposing a data
frame with the reduced schema is likely to fail or return incomplete results.
A database schema, with the auxiliary relations and foreign key references removed.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.