Back to top

ReQL command: values

Command syntax

singleSelection.values() → array

object.values() → array


Return an array containing all of an object’s values. values() guarantees the values will come out in the same order as keys.

Example: Get all of the values from a table row.

# row: { :id => 1, :mail => "", :name => "fred" }


> [ 1, "", "fred" ]

Get more help

Couldn't find what you were looking for?