We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
As task in bugtrack, https://bugtrack.marklogic.com/55089 A sample query as below
xquery version "1.0-ml"; import module namespace op="http://marklogic.com/optic" at "/MarkLogic/optic.xqy"; op:from-view("opticUnitTest", "musician") => op:sample-by(map:map()=>map:with("limit", 2)) => op:result()
The text was updated successfully, but these errors were encountered:
#601 #599 #592 #591 regenerated with the latest Optic functions
970b73e
I'm guessing that the SJS unit test for sampleBy() can be adapted to provide a Node.js API unit test.
Sorry, something went wrong.
anu3990
No branches or pull requests
As task in bugtrack, https://bugtrack.marklogic.com/55089
A sample query as below
xquery version "1.0-ml";
import module namespace op="http://marklogic.com/optic"
at "/MarkLogic/optic.xqy";
op:from-view("opticUnitTest", "musician")
=> op:sample-by(map:map()=>map:with("limit", 2))
=> op:result()
The text was updated successfully, but these errors were encountered: