rethinkdb / rethinkdb/docs

Sample Command Duplication

Open
#1,199 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
CSS
Stars
118
Forks
161
PR merge metrics
No merged PRs in 30d

Description

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?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the ReQL documentation for the sample command and check its current description and examples. Clarify whether sampling can return the same document more than once, and document the behavior so readers can determine whether the results contain unique elements.

Written by the indexing model from the issue text.

Assessment

Domain
documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.