mirror of
https://github.com/Kingsrook/qqq.git
synced 2025-07-18 13:10:44 +00:00
Add overloaded constructor to SyncProcessConfig (defaults doInserts & doUpdates to true)
This commit is contained in:
@ -182,6 +182,14 @@ public abstract class AbstractTableSyncTransformStep extends AbstractTransformSt
|
||||
public record SyncProcessConfig(String sourceTable, String sourceTableKeyField, String destinationTable, String destinationTableForeignKey, boolean performInserts, boolean performUpdates)
|
||||
{
|
||||
|
||||
/*******************************************************************************
|
||||
** Overloaded constructor - defaults both performInserts & performUpdates to true.
|
||||
*******************************************************************************/
|
||||
public SyncProcessConfig(String sourceTable, String sourceTableKeyField, String destinationTable, String destinationTableForeignKey)
|
||||
{
|
||||
this(sourceTable, sourceTableKeyField, destinationTable, destinationTableForeignKey, true, true);
|
||||
}
|
||||
|
||||
/*******************************************************************************
|
||||
** artificial method, here to make jacoco see that this class is indeed
|
||||
** included in test coverage...
|
||||
|
Reference in New Issue
Block a user