book

suspend fun book(book: Book, limit: Long = Long.MAX_VALUE, offset: Long = Long.MIN_VALUE): List<Verse>

Retrieves all verses from a specific book of the Bible.

Return

List of Verse objects from the specified book

Parameters

book

The Book to retrieve verses from

limit

Maximum number of verses to return (default: Long.MAX_VALUE)

offset

Number of verses to skip (default: Long.MIN_VALUE)

Throws

if there's an error accessing the database