mirror of
https://gitee.com/nocobase/nocobase.git
synced 2024-12-03 20:58:01 +08:00
fix(database): the options.where object is empty
This commit is contained in:
parent
620b2b463e
commit
c538fdf73a
@ -445,7 +445,7 @@ export class Repository<TModelAttributes extends {} = any, TCreationAttributes e
|
|||||||
|
|
||||||
const params = parser.toSequelizeParams();
|
const params = parser.toSequelizeParams();
|
||||||
debug('sequelize query params %o', params);
|
debug('sequelize query params %o', params);
|
||||||
return { ...options, ...params };
|
return { where: {}, ...options, ...params };
|
||||||
}
|
}
|
||||||
|
|
||||||
protected parseFilter(filter: Filter) {
|
protected parseFilter(filter: Filter) {
|
||||||
|
Loading…
Reference in New Issue
Block a user