r.array(value[, value...]) → array
Take one or more values as arguments and return an array. (Technically, return a List object.)
Example: Create an array.
r.expr(r.array(10, 20, 30)).run(conn);
This is a ReQL equivalent to:
List<Integer> myArray = Arrays.asList(10, 20, 30);
Couldn't find what you were looking for?
© RethinkDB contributors
Licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported License.
https://rethinkdb.com/api/java/array/