Methods
Static
validate
- validate(collection: Collection, field: string, values?: unknown[]): void
-
Parameters
-
-
field: string
-
Optional
values: unknown[]
Returns void
Static
validateName
- validateName(collectionName: string, name: string): void
-
Parameters
-
collectionName: string
-
name: string
Returns void
Static
validateValue
- validateValue(field: string, schema: ColumnSchema, value: unknown, allowedTypes?: readonly PrimitiveTypes[]): void
-
Parameters
-
field: string
-
-
value: unknown
-
allowedTypes: readonly PrimitiveTypes[] = ...
Returns void
Static
validateValueForId
- validateValueForId(field: string, schema: ColumnSchema, value: unknown): void
-
Parameters
-
field: string
-
-
value: unknown
Returns void