Skip to main content
Latest
class SubjectChangedColumnsComputer
import { SubjectChangedColumnsComputer } from "https://deno.land/x/typeorm@v0.2.23-rc10/src/persistence/SubjectChangedColumnsComputer.ts";

Finds what columns are changed in the subject entities.

Methods

protected
computeDiffColumns(subject: Subject): void

Differentiate columns from the updated entity and entity stored in the database.

protected
computeDiffRelationalColumns(allSubjects: Subject[], subject: Subject): void

Difference columns of the owning one-to-one and many-to-one columns.

compute(subjects: Subject[])

Finds what columns are changed in the subject entities.