Commit 22b3e4fc authored by Vincent Bechu's avatar Vincent Bechu

Add property schema in allDocs options, controlled by capacity schema

parent a0194082
...@@ -438,7 +438,8 @@ ...@@ -438,7 +438,8 @@
context.hasCapacity("select")) && context.hasCapacity("select")) &&
((options.include_docs === undefined) || ((options.include_docs === undefined) ||
context.hasCapacity("include")) && context.hasCapacity("include")) &&
((options.limit === undefined) || context.hasCapacity("limit"))) { ((options.limit === undefined) || context.hasCapacity("limit")) &&
(options.schema === undefined || context.hasCapacity("schema"))) {
return context.buildQuery(options); return context.buildQuery(options);
} }
}) })
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment