Additional variants of `interleave` `union` optarg
Open
@chipotle is already working on this.
Since Aug 8, 2016.
api
- Dominant language
- CSS
- Stars
- 118
- Forks
- 161
- PR merge metrics
- No merged PRs in 30d
Description
https://github.com/rethinkdb/docs/issues/1021#issue-133851169 didn't mention all possible types for the interleave option.
Apart from true, false and field_name, it can also be:
- A lambda function which is applied to each element in the input streams. The interleaving is determined by comparison on the value returned by the lambda function.
- An array of field names
- An array of lambda functions
r.desc(field name)orr.desc(lambda x: ...)orr.desc([field1, field2, ...])orr.desc([lambda x: ..., lambda x: ..., ...])
For the last one I'm a little bit fuzzy on whether the r.desc must be around the array, or if it can be applied to particular elements inside the array. @nighelles can you clarify please?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.