rethinkdb / docs

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

Make string manipulation functions easier to find #1102

Open danielcompton opened 8 years ago

danielcompton commented 8 years ago

slice, and other functions work on many different types including strings, so they don't get put into the string manipulation section in the docs. I was looking for something like slice, but thought RethinkDB was missing it because it wasn't in the string manipulation section. I'm not sure what the answer is here. A few possibilities:

I think a guide could be a good option. To me string manipulation feels like a fundamentally different operation from operating on tables, sequences, or arrays, showing what options you have would be helpful.

OTOH, I think it's only slice, count, coerceTo that operate on strings and don't sit in the string manipulation section.

danielmewes commented 8 years ago

There's also the less generic option of having these functions appear twice in the command list, once in their current place and once in the string manipulation section. I'm not sure how well that's going to work though.

add is another relevant command by the way.