UNPKG

@palmares/drizzle-engine

Version:

This is the engine that wraps the hole drizzle interface in a way palmares can understand and have full control of

12 lines 1.15 kB
import type { fieldParser as DrizzleEngineFieldParser } from './field'; import type { CustomArgs } from './types'; import type { AdapterFieldParserTranslateArgs } from '@palmares/databases'; import type { decimal as dDecimal } from 'drizzle-orm/mysql-core'; import type { numeric as dNumeric } from 'drizzle-orm/pg-core'; import type { real as dReal } from 'drizzle-orm/sqlite-core'; export declare const decimalFieldParser: typeof import("@palmares/databases").AdapterDecimalFieldParser & (new () => import("@palmares/databases").AdapterDecimalFieldParser & { translate: (args: AdapterFieldParserTranslateArgs<"decimal", any, InstanceType<typeof DrizzleEngineFieldParser>, any, CustomArgs<Parameters<typeof dDecimal>[1] | Parameters<typeof dNumeric>[1], ReturnType<typeof dReal> | ReturnType<typeof dNumeric> | ReturnType<typeof dReal>>>) => Promise<string>; inputParser: (args: import("@palmares/databases").AdapterFieldParserInputAndOutputArgs<"decimal">) => Promise<any>; outputParser: (args: import("@palmares/databases").AdapterFieldParserInputAndOutputArgs<"decimal">) => Promise<any>; }); //# sourceMappingURL=decimal.d.ts.map