marklogic / node-client-api

The MarkLogic Node.js Client API
https://docs.marklogic.com/jsdoc/index.html
Apache License 2.0
51 stars 45 forks source link

add beforeQuery() and afterQuery() query constructors to queryBuilder #508

Closed ehennum closed 4 years ago

ehennum commented 6 years ago

The signatures might be similar to:

beforeQuery(timestamp) → {queryBuilder.Query}
afterQuery(timestamp) → {queryBuilder.Query}

where timestamp is an unsigned long stated as a string, emitting

{"before-query":{"timestamp":"..."}}
{"after-query":{"timestamp":"..."}}

respectively.

See server bug 50902 for the details.

kcoleman-marklogic commented 6 years ago

When this work gets done, please don't forget to notify TechPubs. Probably Eleanor Tesoro, but if in doubt, let Jane M. know.

georgeajit commented 5 years ago

Tests are running fine.