优化 fieldEq 支持混合类型

This commit is contained in:
cool 2023-10-16 17:14:56 +08:00
parent 3ca8565ac8
commit a6f2a55273
3 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@cool-midway/core",
"version": "7.0.0-beta6",
"version": "7.0.0-beta7",
"description": "",
"main": "dist/index.js",
"typings": "index.d.ts",

View File

@ -69,7 +69,7 @@ export interface QueryOp {
// 查询字段
select?: string[];
// 字段相等
fieldEq?: string[] | FieldEq[];
fieldEq?: string[] | FieldEq[] | (string | FieldEq)[];
// 添加排序条件
addOrderBy?: {};
// 关联配置

View File

@ -1,6 +1,6 @@
{
"name": "@cool-midway/core",
"version": "7.0.0-beta6",
"version": "7.0.0-beta7",
"description": "",
"main": "index.js",
"typings": "index.d.ts",