WeivData API Reference | ExWeiv Apps
    Preparing search index...

    Interface WeivDataOptionsQuery

    WeivData options only for query function.

    interface WeivDataOptionsQuery {
        convertIds?: boolean;
        omitTotalCount?: boolean;
        readConcern?:
            | "local"
            | "majority"
            | "linearizable"
            | "available"
            | "snapshot";
        suppressAuth?: boolean;
        suppressHooks?: boolean;
    }

    Hierarchy (View Summary)

    Index

    Properties

    convertIds?: boolean

    When enabled we will convert all _id fields from ObjectId to String, if they are not in ObjectId type then we won't touch them. If not enabled we will return _id fields without modification.

    omitTotalCount?: boolean

    By default this is true and you can disable it if you want, when it's disabled (false) we won't fetch the total count of the items.

    readConcern?: "local" | "majority" | "linearizable" | "available" | "snapshot"

    An option to choose a consistency level when reading data from MongoDB Clusters.

    suppressAuth?: boolean

    An option to bypass permissions and perform operations in admin level.

    suppressHooks?: boolean

    An option to bypass all hooks (before or after hooks) that runs for the function.