beloglazov / couchdb-scala

A purely functional Scala client for CouchDB
Apache License 2.0
65 stars 19 forks source link

Views and keys (documentation issue) #65

Closed mb720 closed 7 years ago

mb720 commented 7 years ago

Hi!

From the readme:

It's also possible to only get the documents from a view that match the specified keys. For example, we can use that to get only documents of Alice and Carl:

ageView.build.query(Seq("Alice", "Carl"))

From the QueryViewSpec I can see that this is not accurate.

It seems that keys can be used by either withIds or using keys.

ermyas commented 7 years ago

thanks for pointing this out @mb720