Skip to main content
Module

x/typeorm/src/index.ts>EntityManager#increment

Forked from https://github.com/typeorm/typeorm
Latest
method EntityManager.prototype.increment
Re-export
import { EntityManager } from "https://deno.land/x/typeorm@v0.2.23-rc10/src/index.ts";

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

Parameters

entityClass: ObjectType<Entity> | EntitySchema<Entity> | string
conditions: any
propertyPath: string
value: number | string

Returns

Promise<UpdateResult>