Category: Import / Database
Selects rows from a database table where a combination of key fields matches a combination of key fields in an EasyMorph table.
This action can be used for pre-filtering. Pre-filtering means that instead of loading an entire dataset and then filtering it, only a few fields are loaded (using Import from database) that are necessary for filtering, as well as primary/foreign keys (i.e. IDs). When imported, these fields can be filtered by any of various EasyMorph transformations. The resulting subset of IDs is used to fetch full records from the source dataset using the Select matching database rows action. Pre-filtering can be helpful when the source table is large and doesn't entirely fit in RAM.
Another use case is cross-source filtering which means importing database records having IDs that are obtained from another data source (e.g. text file or spreadsheet).
Under the hood, the action creates a temporary table in the target database, uploads key field combinations into it, and performs a SELECT..WHERE..EXISTS statement. After the statement is executed the temporary table is deleted.