DatabaseDeleter
Delete rows in a database table based on the condition specified.
Input Ports
This transformer accepts any feature.
Output Ports
This transformer has no output ports.
Parameters
Database To Update
Select the format and dataset where the table resides, including any format-specific parameters.
Parameters
Specify the table to delete rows from. Click the Browse button to select the table from a list retrieved from the database. Note that you can only select this after you have completely specified the database format, dataset, and format-specific parameters.
Specify how to identify the rows to delete. This can either be done through Match Column(s) or through a WHERE Clause.
Use a SQL WHERE clause to identify matching records to delete. An example clause is the following:
id = 'roads'
Match On
Specify the columns and their values used to identify matching records. A record match occurs when the contents of the row for the columns listed exactly equal the corresponding value.
In the Table Column field, click the Browse button to select from a list of all the columns in the database table. Note this only works after you have completely specified the database format, dataset, format-specific parameters, and picked a table.
Usage Notes
See FME Readers and Writers > Feature Operations or specific writer documentation for more information on how writers will respond to deleting rows.
Unlike FME Writers, fme_db_operation and fme_where attributes are not supported on DatabaseDeleter input features.
Editing Transformer Parameters
Using a set of menu options, transformer parameters can be assigned by referencing other elements in the workspace. More advanced functions, such as an advanced editor and an arithmetic editor, are also available in some transformers. To access a menu of these options, click beside the applicable parameter. For more information, see Transformer Parameter Menu Options.
Transformer Categories
FME Licensing Level
FME Professional edition and above
Search FME Community
Search for samples and information about this transformer on the FME Community.