Created
May 23, 2020 09:54
-
-
Save deepanshu42/62a86bc56502c40330fc0f4c88b48672 to your computer and use it in GitHub Desktop.
Room generated code for normal insert Dao method
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Override | |
public void insertUsers(final User... users) { | |
__db.assertNotSuspendingTransaction(); | |
__db.beginTransaction(); | |
try { | |
__insertionAdapterOfUser.insert(users); | |
__db.setTransactionSuccessful(); | |
} finally { | |
__db.endTransaction(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment