@squidcloud/backend
    Preparing search index...

    Interface GeneralCondition<Doc, F>

    A condition that includes all operators, including 'in' and 'not in', for general use.

    interface GeneralCondition<
        Doc extends DocumentData = any,
        F extends Paths<Doc> = Paths<Doc>,
    > {
        fieldName: F;
        operator: AllOperators;
        value: any;
    }

    Type Parameters

    • Doc extends DocumentData = any
    • F extends Paths<Doc> = Paths<Doc>

    Hierarchy

    • SimpleCondition<Doc, F, AllOperators>
      • GeneralCondition
    Index

    Properties

    fieldName: F

    The field name to apply the condition to.

    operator: AllOperators

    The operator to apply to the condition, including all possible operators.

    value: any

    The value to use in the condition comparison.