• Type Parameters

    Parameters

    • collectionId: string

      The ID of the collection to multiply value.

    • itemId: ItemID

      ItemID to filter the _id field when performing the operation.

    • propertyName: Extract<keyof CItem, string>

      Property name for the multiply field.

    • value: number

      Multiply current value by that much. (If you set it to 10 it will multiply it by 10 x*10)

    • Optionaloptions: WeivDataOptions

      An object containing options to use when processing this operation.

    Returns Promise<CItem | null>

    Fulfilled - Updated item. Rejected - The error caused the rejection.

    You can use multiply function to multiply the value of a filed in an item.