Skip to main content
Module

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

Forked from https://github.com/typeorm/typeorm
Latest
method Repository.prototype.decrement
Re-export
import { Repository } from "https://deno.land/x/typeorm@v0.2.23-rc10/src/index.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>