Skip to main content
Module

x/typeorm/src/query-builder/RelationUpdater.ts>RelationUpdater

Forked from https://github.com/typeorm/typeorm
Latest
class RelationUpdater
import { RelationUpdater } from "https://deno.land/x/typeorm@v0.2.23-rc10/src/query-builder/RelationUpdater.ts";

Allows to work with entity relations and perform specific operations with those relations.

todo: add transactions everywhere

Constructors

new
RelationUpdater(queryBuilder: QueryBuilder<any>, expressionMap: QueryExpressionMap)

Methods

update(value: any | any[]): Promise<void>

Performs set or add operation on a relation.