nhl / link-move

A model-driven dynamically-configurable framework to acquire data from external sources and save it to your database.
Apache License 2.0
35 stars 15 forks source link

CreateTask for data migrations #137

Closed andrus closed 6 years ago

andrus commented 7 years ago

LinkMove is often used for data migration. I.e. we don't need to match source against target, and simply need to transfer the data once. Using CreateOrUpdateTask for this is possible, but slow (need to select from target and attempt matching) and inconvenient (there's a need to define a comparison key that may or may not be present in the model). Let's create a task optimized for this workflow - CreateTask.