mirror of
https://github.com/donl/slouch.git
synced 2026-06-30 06:11:57 -06:00
doc(api): link to find
This commit is contained in:
parent
de5d30d05d
commit
239272acd8
1 changed files with 3 additions and 5 deletions
8
API.md
8
API.md
|
|
@ -39,7 +39,7 @@
|
|||
* destroyAllNonDesign(dbName)
|
||||
* destroyIgnoreConflict(dbName, docId, docRev)
|
||||
* exists(dbName, id)
|
||||
* find(dbName, body, params)
|
||||
* [find(dbName, body, params)](https://github.com/redgeoff/slouch/blob/master/API.md#finddbname-body-params)
|
||||
* get(dbName, docId)
|
||||
* getAndDestroy(dbName, docId)
|
||||
* getIgnoreMissing(dbName, id)
|
||||
|
|
@ -102,16 +102,14 @@
|
|||
|
||||
#### find(dbName, body, params)
|
||||
|
||||
Find documents using a declarative JSON querying syntax
|
||||
Find documents using a declarative JSON querying syntax. See https://docs.couchdb.org/en/latest/api/database/find.html for more details.
|
||||
|
||||
Example:
|
||||
|
||||
```js
|
||||
slouch.doc.find('myDB', {
|
||||
selector: {
|
||||
thing: 'findme',
|
||||
thing: 'findme'
|
||||
}
|
||||
});
|
||||
```
|
||||
|
||||
See https://docs.couchdb.org/en/latest/api/database/find.html for more details
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue