@couchbase/lite-js
    Preparing search index...

    Type Alias UserFunctionOptions

    Options for UserFunctions.

    type UserFunctionOptions = {
        maximumArgs?: number;
        minimumArgs?: number;
        nondeterministic?: boolean;
    }
    Index

    Properties

    maximumArgs?: number
    minimumArgs?: number
    nondeterministic?: boolean

    If true, the function may return different values given the same input. (For example, it might return a random number or the current time.) Setting this to true disables any query optimizations that might cache the result of a call.