website logo
Navigate through spaces
Carrot reference
⌘K
Carrot reference
Getting started with Carrot
Built-in Carrot filters
Carrot fields
Basic Org Information
Compensation
Job Changes
Permissions
Personal
Recruiting
Structure
Time off
Data types
Elements of Carrot expressions
Functions
Operators
Keywords
Aggregators
Docs powered by archbee 
website logo

Keywords

This page contains a list of keywords that are used for basic and advanced querying.

Keywords in Carrot are words or phrases that do any of the following:

  • Joins two or more clauses together to form a complex Carrot query.
  • Alters the logic of one or more clauses.
  • Alters the logic of operators.
  • Has an explicit definition in a Carrot query
  • Performs a specific function that alters the results of a Carrot query.

Keyword list

Keyword

Description

: (match)

Returns true where the value of a given field and a given expression partially match.

&& (and)

A logic operator used to evaluate the truthiness of two or more expressions.

|| (or)

A logic operator used to evaluate the truthiness of at least one expression in a sequence of expressions.

if

A logic operator used to return a defined expression based on the truthiness of one or more other expressions.

? (ternary)

Evaluates the truthiness of an expression, and returns the value of one of two expressions based on that outcome.

?: (elvis)

Evaluates the truthiness of the first expression, and returns its value if that value is truthy. If the value of the first expression is not truthy, it returns the value of the second expression.



Learn more about expression truthiness.

. (dot)

Used to retrieve a property of a given field.



Updated 03 Mar 2023
Did this page help you?
Yes
No
UP NEXT
: (match)
Docs powered by archbee