Skip to main content

$values

The $values operator returns an array of all values in an object/map.

Input

  • A single object/map value

Output

  • An array containing all the values of the input object

Examples

Get Values from Object

Result: ["Alice", 25, "New York"]

From Field

Result: An array of all values from the user_object field