rethinkdb / docs

RethinkDB documentation
http://rethinkdb.com/docs
Apache License 2.0
117 stars 167 forks source link

`union` `interleave` option documentation is misleading for functions #1231

Closed tommilligan closed 5 years ago

tommilligan commented 5 years ago

When calling union with interleave as a function, rows are sorted by the return value of the function.

The documentation incorrectly states that the return value of the function should be "a string to take as a field name".

See the rethinkdb tests for examples of this in action.

Potentially related to #1089