Skip to content

Count

Returns the number of records in the current model matching the provided domain.

clo count clo count [--domain FIELD OPERATOR VALUE] [--or] [--and] [--not] [--limit AMOUNT] [--help]

Options

‑‑domain FIELD OPERATOR VALUE

‑d FIELD OPERATOR VALUE

A set of criterion to filter the search by (run clo explain domains for details). This option can be specified multiple times.

Default: []

‑‑or

‑o

A logical OR, placed before two or more domains (arity 2). Run clo explain logic for more details.

‑‑and

‑a

A logical AND to place before two or more domains (arity 2). Run clo explain logic for more details.

‑‑not

‑n

A logical OR to place before a signle domain (arity 1). Run clo explain logic for more details.

‑‑limit AMOUNT

Maximum number of records to return.

Peripherals

Supportive, non-operational functions.

‑‑help

‑h

Show this help message and exit.