apa512 / clj-rethinkdb

Eclipse Public License 1.0
204 stars 42 forks source link

r/branch support multiple conditions #194

Open nha opened 6 years ago

nha commented 6 years ago

currently r/branch has [boot true-branch false-branch] while rethinkdb supports multiple "if-else-if-else-if" style conditions:

https://www.rethinkdb.com/api/javascript/branch/

r.branch(test1, val1, test2, val2, elseval)