Skip to content

Interface: DORMClientOptions

Defined in: src/client/client.ts:9

Options for the DORMClient constructor.

Properties

allowRawOperators?

optional allowRawOperators?: boolean

Defined in: src/client/client.ts:16

When true, filter values may contain raw MongoDB operator objects ($-prefixed keys). Off by default: DORM rejects such values as likely NoSQL operator injection. Enable only when your filter inputs are trusted (e.g. never built directly from request data).

Released under the MIT License.