ionic-orm-2
Version:
Data-mapper ORM for Ionic WebSQL and SQLite
15 lines (14 loc) • 382 B
TypeScript
import { ColumnMetadata } from "../../metadata/ColumnMetadata";
/**
* UpdateEvent is an object that broadcaster sends to the entity subscriber when entity is being updated in the database.
*/
export interface UpdateEvent<Entity> {
/**
* Updating entity.
*/
entity: Entity;
/**
* List of updating columns.
*/
updatedColumns: ColumnMetadata[];
}