CRUDEngineBaseCollection

Inheritors

Functions

Link copied to clipboard
abstract fun <EntityType, PrimaryKey> create(tableName: String, primaryKey: PrimaryKey, entity: EntityType): Promise<PrimaryKey>
Link copied to clipboard
abstract fun <PrimaryKey> delete(tableName: String, primaryKey: PrimaryKey): Promise<PrimaryKey>
Link copied to clipboard
abstract fun deleteAll(tableName: String): Promise<Boolean>
Link copied to clipboard
abstract fun <EntityType, PrimaryKey> read(tableName: String, primaryKey: PrimaryKey): Promise<EntityType>
Link copied to clipboard
abstract fun <EntityType> readAll(tableName: String): Promise<Array<EntityType>>
Link copied to clipboard
abstract fun readAllPrimaryKeys(tableName: String): Promise<Array<String>>
Link copied to clipboard
abstract fun <PrimaryKey, ChangesType> update(tableName: String, primaryKey: PrimaryKey, changes: ChangesType): Promise<PrimaryKey>