mirror of
https://github.com/bknd-io/bknd/
synced 2026-08-03 16:46:00 +00:00
connection: rewrote query execution, batching, added generic sqlite, added node/bun sqlite, aligned repo/mutator results
This commit is contained in:
@@ -207,8 +207,9 @@ export class EntityManager<TBD extends object = DefaultDB> {
|
||||
|
||||
repository<E extends Entity | keyof TBD | string>(
|
||||
entity: E,
|
||||
opts: Omit<RepositoryOptions, "emgr"> = {},
|
||||
): Repository<TBD, EntitySchema<TBD, E>> {
|
||||
return this.repo(entity);
|
||||
return this.repo(entity, opts);
|
||||
}
|
||||
|
||||
repo<E extends Entity | keyof TBD | string>(
|
||||
|
||||
Reference in New Issue
Block a user