(queryOptions, schemaUserProvidedOptions, schemaOptions, context)
| 420 | } |
| 421 | |
| 422 | function getStrictQuery(queryOptions, schemaUserProvidedOptions, schemaOptions, context) { |
| 423 | if ('strictQuery' in queryOptions) { |
| 424 | return queryOptions.strictQuery; |
| 425 | } |
| 426 | if ('strictQuery' in schemaUserProvidedOptions) { |
| 427 | return schemaUserProvidedOptions.strictQuery; |
| 428 | } |
| 429 | const mongooseOptions = context?.mongooseCollection?.conn?.base?.options; |
| 430 | if (mongooseOptions) { |
| 431 | if ('strictQuery' in mongooseOptions) { |
| 432 | return mongooseOptions.strictQuery; |
| 433 | } |
| 434 | } |
| 435 | return schemaOptions.strictQuery; |
| 436 | } |
no outgoing calls
no test coverage detected
searching dependent graphs…