* 获取查询条件(只读)
()
| 234 | * 获取查询条件(只读) |
| 235 | */ |
| 236 | public getCondition(): Readonly<QueryCondition> { |
| 237 | return { |
| 238 | all: [...this.condition.all], |
| 239 | any: [...this.condition.any], |
| 240 | none: [...this.condition.none], |
| 241 | ...(this.condition.tag !== undefined && { tag: this.condition.tag }), |
| 242 | ...(this.condition.name !== undefined && { name: this.condition.name }), |
| 243 | ...(this.condition.component !== undefined && { component: this.condition.component }), |
| 244 | ...(this.condition.matchNothing && { matchNothing: true }) |
| 245 | }; |
| 246 | } |
| 247 | |
| 248 | /** |
| 249 | * 检查是否为空条件 |
no outgoing calls
no test coverage detected