- Preparing search index...
- The search index is not available
Deepkit
Class DatabasePersistenceAbstract
Methods
Abstract
insert
- insert<T>(classSchema: ReflectionClass<T>, items: T[]): Promise<void>
-
Parameters
-
classSchema: ReflectionClass<T>
-
items: T[]
Returns Promise<void>
Abstract
release
- release(): void
-
Returns void
Abstract
remove
- remove<T>(classSchema: ReflectionClass<T>, items: T[]): Promise<void>
-
Parameters
-
classSchema: ReflectionClass<T>
-
items: T[]
Returns Promise<void>
Abstract
update
- update<T>(classSchema: ReflectionClass<T>, changeSets: DatabasePersistenceChangeSet<T>[]): Promise<void>
-
Parameters
-
classSchema: ReflectionClass<T>
-
Returns Promise<void>
When DatabasePersistence instance is not used anymore, this function will be called. Good place to release a connection for example.