marklogic-community / Corona

Community REST API for MarkLogic
Other
37 stars 9 forks source link

RFE: Give custom query the true-query and false-query equivalents #7

Closed hunterhacker closed 12 years ago

hunterhacker commented 12 years ago

Using cts:query people sometimes write cts:and-query(()) to indicate the equivalent of the non-existent cts:true-query() and cts:or-query(()) for the non-existent cts:false-query(). I think Corona should provide the true/false query primitives so this is more approachable to people.

ryangrimm commented 12 years ago

Added this in as: {"boolean": true} or {"boolean": false}.