objectbox-examples
objectbox-examples copied to clipboard
Examples for ObjectBox Android/Java, the super-fast database
From this documentation, there are several transaction in ObjectBox http://objectbox.io/documentation/transactions/ > The class BoxStore offers the following methods to perform explicit transactions: > runInTx: Runs the given runnable inside a...
I want to migrate your existing greenDAO data to ObjectBox. ``` // note example List notes = daoSession.getNoteDao().loadAll(); List convertedNotes = convertToObjectBoxNotes(notes); daoCompatSession.getNoteDao().insertInTx(convertedNotes); ``` GreenDao is promoted to ObjectBox, I...