mirror of
https://github.com/bknd-io/bknd/
synced 2026-08-04 09:06:01 +00:00
feat/deno (#219)
* update bun version * fix module manager's em reference * add basic deno example * finalize
This commit is contained in:
@@ -67,6 +67,13 @@ export class EntityManager<TBD extends object = DefaultDB> {
|
||||
return new EntityManager(this._entities, this.connection, this._relations, this._indices);
|
||||
}
|
||||
|
||||
clear(): this {
|
||||
this._entities = [];
|
||||
this._relations = [];
|
||||
this._indices = [];
|
||||
return this;
|
||||
}
|
||||
|
||||
get entities(): Entity[] {
|
||||
return this._entities;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user