pardom-zz / ActiveAndroid

Active record style SQLite persistence for Android
http://www.activeandroid.com
4.7k stars 1.03k forks source link

how to duplicate large number of rows #437

Open ghost opened 8 years ago

ghost commented 8 years ago

Hello, I'm working on this app which is intended to manage a large number of data organized this way :

A Referential is composed of 1000s of Roads, each road has 1000s of Segments.

The user needs to duplicate (clone in database) each referential in order to proceed.

Is there a way to do this in an efficient way? Currently looping through one entire referential takes up to 10 minutes.

Thank you.