-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
Hi!
I'd like to get the revision info of a particular document in my database.
This is what I came up with till now:
def getRevInfo(id: String) = {
val dbApi: CouchDbApi = getApi()
val dbActions = for {
revsInfo <- dbApi.docs.get.revsInfo().query[MyDocument](id)
} yield revsInfo
dbActions.unsafePerformSyncAttempt
}
This yields a CouchDoc[MyDocument]
; how can I get to its revision info?
Thanks a lot in advance.
Metadata
Metadata
Assignees
Labels
No labels