UNPKG

forge-sql-orm

Version:

Drizzle ORM integration for Forge-SQL in Atlassian Forge applications.

21 lines 657 B
/** * Interface for SQL hints configuration */ export interface SqlHints { /** SQL hints for SELECT queries */ select?: string[]; /** SQL hints for INSERT queries */ insert?: string[]; /** SQL hints for UPDATE queries */ update?: string[]; /** SQL hints for DELETE queries */ delete?: string[]; } /** * Detects the type of SQL query and injects appropriate hints * @param query - The SQL query to analyze * @param hints - The hints configuration * @returns The modified query with injected hints */ export declare function injectSqlHints(query: string, hints?: SqlHints): string; //# sourceMappingURL=sqlHints.d.ts.map