Bulk insert or update with Couchbase Ottoman

397 Views Asked by At

Is it possible to do bulk inserts and/or update with Couchbase Ottoman? I am trying to build a script that imports my data from a MySQL database, and I would rather not import each model one at a time.

1

There are 1 best solutions below

2
On BEST ANSWER

Is it possible to get more context on your models, and how you're loading from mysql? There is currently no bulk method for saving. While not ideal, if you're populating models based on a query from mysql, it should be possible within the same scope to iterate through and save them within couchbase. If you can provide more information, I'd be happy to help.

Thanks

Todd