sync_gateway
sync_gateway copied to clipboard
User N1QL queries, GraphQL queries, JS functions
CBG-2106
Full implementation of User Queries (my name; I don't know if there is an official name for the whole feature.)
- Named N1QL queries with parameters
- GraphQL queries
- Named JavaScript functions with parameters
These have both REST and BLIP (Connected Client) APIs.
(these docs are still restricted; ask Wayne if you want access.)
I just pushed another commit that implements "Authorization with User Security Context" as per the spec.
@snej Given that we've added REST endpoint support, can we add a feature/unsupported flag for this functionality? With that in place we'll be able to merge this.
@snej This looks good - errcheck flagged a couple of missed error checks. Let me know when those are fixed and it's rebased and we can merge.
The failed sgw-pipeline-errcheck is from the previous push -- the timestamp on it is yesterday (9/6). Why wasn't it re-run?