Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
ZodMap
1 parent a350dc5 commit 69a14faCopy full SHA for 69a14fa
src/utils/collection.ts
@@ -8,7 +8,7 @@ import type { ZodFieldType } from './zod'
8
import { getUnderlyingType, ZodToSqlFieldTypes, z, getUnderlyingTypeName } from './zod'
9
import { logger } from './dev'
10
11
-const JSON_FIELDS_TYPES = ['ZodObject', 'ZodArray', 'ZodRecord', 'ZodIntersection', 'ZodUnion', 'ZodAny']
+const JSON_FIELDS_TYPES = ['ZodObject', 'ZodArray', 'ZodRecord', 'ZodIntersection', 'ZodUnion', 'ZodAny', 'ZodMap']
12
13
export function getTableName(name: string) {
14
return `_content_${name}`
0 commit comments