hint property

String? hint
getter/setter pairinherited

A document or string that specifies the index to use to support the query predicate.

The option can take an index specification document or the index name string.

If you specify an index that does not exist, the operation errors.

For an example, see Specify hint for Delete Operations.

We define two fields, if set, one exclude the other.

New in 4.4

Implementation

String? hint;