UNPKG

@daiso-tech/core

Version:

The library offers flexible, framework-agnostic solutions for modern web applications, built on adaptable components that integrate seamlessly with popular frameworks like Next Js.

14 lines (13 loc) 521 B
/** * @module Utilities */ import type { KyselyPlugin, PluginTransformQueryArgs, PluginTransformResultArgs, QueryResult, RootOperationNode, UnknownRow } from "kysely"; /** * @internal */ export declare class KyselyTableNameTransformerPlugin implements KyselyPlugin { private readonly transformer; constructor(tableNameMap: Record<string, string>); transformQuery(args: PluginTransformQueryArgs): RootOperationNode; transformResult(args: PluginTransformResultArgs): Promise<QueryResult<UnknownRow>>; }