Created
March 21, 2018 00:47
-
-
Save cdmunoz/b7cec37d0c6f6ff73fa5b7c09d449365 to your computer and use it in GitHub Desktop.
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
@Dao | |
interface CryptocurrenciesDao { | |
@Query("SELECT * FROM cryptocurrencies ORDER BY rank limit :limit offset :offset") | |
fun queryCryptocurrencies(limit:Int, offset:Int): Single<List<Cryptocurrency>> | |
// ... rest of the code | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment