@squidcloud/client
    Preparing search index...

    Interface SimpleCondition<Doc, F, MyOperator>

    A single field query condition for filtering database records.

    interface SimpleCondition<
        Doc extends DocumentData = any,
        F extends Paths<Doc> = Paths<Doc>,
        MyOperator = Operator,
    > {
        fieldName: F;
        operator: MyOperator;
        value: any;
    }

    Type Parameters

    Index

    Properties

    fieldName: F

    The field name to apply the condition to.

    operator: MyOperator

    The operator to use for comparing the field value.

    value: any

    The value to compare against the field.