ionic-orm-2
Version:
Data-mapper ORM for Ionic WebSQL and SQLite
14 lines (13 loc) • 334 B
TypeScript
/**
* RemoveEvent is an object that broadcaster sends to the entity subscriber when entity is being removed to the database.
*/
export interface RemoveEvent<Entity> {
/**
* Entity that is being removed.
*/
entity: Entity;
/**
* Id or ids of the entity that is being removed.
*/
entityId?: any;
}