allDocs query returning design docs in PouchDB -


i'm using smart ids in docs can search log type , date. using pouchdb-find plugin create indexes, though aren't being used yet.

this example alldocs query:

var start = 'log_2015-05-28t23:00:00.000z',     end = 'log_2015-05-29t23:00:00.000z; return db.alldocs({ startkey: start, endkey: end, include_docs: true }); 

the results of query includes design docs. here's example key of 1 of them:

_design/idx-a1f9f055e1ec4dfb9f5e9fd9ac7fc6bb

why getting design docs if keys outside of start , end key range?

you want startkey , endkey, not startkey , endkey. :)


Comments

Popular posts from this blog

Java 3D LWJGL collision -

spring - SubProtocolWebSocketHandler - No handlers -

methods - python can't use function in submodule -