Skip to main content

Interface: CollationOptions

Defined in: service-core/src/decorators/PersistenceDecorators.ts:13

The language-specific rules to use for string comparison in MongoDB collections.

See​

https://www.mongodb.com/docs/v7.0/reference/collation/#std-label-collation

Properties​

alternate?​

optional alternate?: string

Defined in: service-core/src/decorators/PersistenceDecorators.ts:19


backwards?​

optional backwards?: boolean

Defined in: service-core/src/decorators/PersistenceDecorators.ts:21


caseFirst?​

optional caseFirst?: string

Defined in: service-core/src/decorators/PersistenceDecorators.ts:16


caseLevel?​

optional caseLevel?: boolean

Defined in: service-core/src/decorators/PersistenceDecorators.ts:15


locale​

locale: string

Defined in: service-core/src/decorators/PersistenceDecorators.ts:14


maxVariable?​

optional maxVariable?: string

Defined in: service-core/src/decorators/PersistenceDecorators.ts:20


numericOrdering?​

optional numericOrdering?: boolean

Defined in: service-core/src/decorators/PersistenceDecorators.ts:18


strength?​

optional strength?: number

Defined in: service-core/src/decorators/PersistenceDecorators.ts:17