Last active
May 22, 2018 18:26
-
-
Save ryansgot/d2c1b01be8655848f2a6707e9cac5dab to your computer and use it in GitHub Desktop.
Quickstart Deletion Query
This file contains 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
// java version | |
int deleted = ForSure.employeesTable() | |
.find().byFirstName("Some") | |
.then() | |
.set() | |
.hardDelete(); | |
Log.i("forsuredb-example", "Deleted " + deleted + " records") |
This file contains 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
// kotlin version | |
var deleted = ForSure.employeesTable() | |
.find().byFirstName("Some") | |
.then() | |
.set() | |
.hardDelete() | |
Log.i("forsuredb-example", "Deleted $deleted records") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment