Skip to content

@142vip.nest typeorm.类.NotBrackets

mmdapl edited this page Oct 8, 2026 · 1 revision

API 参考 / @142vip/nest-typeorm / NotBrackets

类: NotBrackets

定义于: node_modules/.pnpm/typeorm@0.3.30_ioredis@5.6.0_mongodb@6.19.0_mssql@11.0.1_mysql2@3.15.1_pg@8.11.3_ts-node@10.9_6zvdq3z7xgsf663jy3j6oymho4/node_modules/typeorm/query-builder/NotBrackets.d.ts:6

Syntax sugar. Allows to use negate brackets in WHERE expressions for better syntax.

theme_extends

构造函数

构造函数

new NotBrackets(whereFactory): NotBrackets

定义于: node_modules/.pnpm/typeorm@0.3.30_ioredis@5.6.0_mongodb@6.19.0_mssql@11.0.1_mysql2@3.15.1_pg@8.11.3_ts-node@10.9_6zvdq3z7xgsf663jy3j6oymho4/node_modules/typeorm/query-builder/Brackets.d.ts:15

Given WHERE query builder that will build a WHERE expression that will be taken into brackets.

参数

whereFactory

(qb) => any

返回

NotBrackets

继承自

Brackets.constructor

属性

@instanceof

readonly @instanceof: symbol

定义于: node_modules/.pnpm/typeorm@0.3.30_ioredis@5.6.0_mongodb@6.19.0_mssql@11.0.1_mysql2@3.15.1_pg@8.11.3_ts-node@10.9_6zvdq3z7xgsf663jy3j6oymho4/node_modules/typeorm/query-builder/NotBrackets.d.ts:7

重写了

Brackets.@instanceof


whereFactory

whereFactory: (qb) => any

定义于: node_modules/.pnpm/typeorm@0.3.30_ioredis@5.6.0_mongodb@6.19.0_mssql@11.0.1_mysql2@3.15.1_pg@8.11.3_ts-node@10.9_6zvdq3z7xgsf663jy3j6oymho4/node_modules/typeorm/query-builder/Brackets.d.ts:11

WHERE expression that will be taken into brackets.

参数

qb

WhereExpressionBuilder

返回

any

继承自

Brackets.whereFactory

Clone this wiki locally