@datazod/zod-sql
Version:
Convert Zod schemas to SQL table definitions with support for SQLite, PostgreSQL, and MySQL
7 lines • 341 B
TypeScript
import { ZodObject } from 'zod';
import { SQLDialect } from '../../types';
/**
* Process a nested object and flatten it according to the specified depth
*/
export declare function processNestedObject(prefix: string, objectType: ZodObject<any>, cols: string[], depth: number, dialect?: SQLDialect): void;
//# sourceMappingURL=index.d.ts.map