Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/typeorm/src/repository/Repository.ts>Repository#decrement

Forked from https://github.com/typeorm/typeorm
Latest
method Repository.prototype.decrement
import { Repository } from "https://deno.land/x/typeorm@v0.2.23-rc10/src/repository/Repository.ts";

Decrements some column by provided value of the entities matched given conditions.

Parameters

conditions: FindConditions<Entity>
propertyPath: string
value: number | string

Returns

Promise<UpdateResult>