mirror of
https://github.com/typeorm/typeorm.git
synced 2025-12-08 21:26:23 +00:00
commit
e1699c5ffa
@ -278,7 +278,7 @@ export class Repository<Entity extends ObjectLiteral> {
|
||||
* Optionally find options can be applied.
|
||||
*/
|
||||
findByIds(ids: any[], optionsOrConditions?: FindManyOptions<Entity>|DeepPartial<Entity>): Promise<Entity[]> {
|
||||
return this.manager.findByIds(this.metadata.target, optionsOrConditions as any);
|
||||
return this.manager.findByIds(this.metadata.target, ids, optionsOrConditions as any);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user