Created
July 2, 2017 13:42
-
-
Save MkhytarMkhoian/855385cf82f92ed120dacce9d922ce50 to your computer and use it in GitHub Desktop.
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
| void sendTableTrigger(Set<String> tables) { | |
| BriteDatabase.SqliteTransaction transaction = (BriteDatabase.SqliteTransaction)this.transactions.get(); | |
| if(transaction != null) { | |
| transaction.addAll(tables); | |
| } else { | |
| if(this.logging) { | |
| this.log("TRIGGER %s", new Object[]{tables}); | |
| } | |
| this.triggers.onNext(tables); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment