Open ChrisTalman opened 7 years ago
The first paragraph of the documentation already specifies that "selection is done without replacement".
@AtnNn Thanks for your reply. I did notice that when I read the documentation, but I did not understand what it meant. I have now done a Google search, and see that it means that the same element will not be returned more than once. Unfortunately, when I was first reviewing the documentation, being unfamiliar with the terminology, it did not cross my mind to look up what that sentence meant, as it seemed unrelated. Thanks for the clarification.
The ReQL documentation for
sample
does not seem to state whether or not the command can return the same document more than once in its results. This could be useful to know, as it might be desirable to return a certain number of unique elements at random. Could this please be clarified in the documentation?