Created
September 9, 2025 15:25
-
-
Save ryancfogarty/374d57c864c82e3e7d8ab382d5518448 to your computer and use it in GitHub Desktop.
DB Flow
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
| @Dao | |
| interface EventDao { | |
| @Query("SELECT count(*) FROM EventEntity") | |
| fun getCountAsFlow(): Flow<Int> | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment