UNPKG

624 BTypeScriptView Raw
1import { Subject } from "./Subject";
2/**
3 * Finds what columns are changed in the subject entities.
4 */
5export declare class SubjectChangedColumnsComputer {
6 /**
7 * Finds what columns are changed in the subject entities.
8 */
9 compute(subjects: Subject[]): void;
10 /**
11 * Differentiate columns from the updated entity and entity stored in the database.
12 */
13 protected computeDiffColumns(subject: Subject): void;
14 /**
15 * Difference columns of the owning one-to-one and many-to-one columns.
16 */
17 protected computeDiffRelationalColumns(allSubjects: Subject[], subject: Subject): void;
18}