forge-sql-orm
Version:
Drizzle ORM integration for Atlassian @forge/sql. Provides a custom driver, schema migration, two levels of caching (local and global via @forge/kvs), optimistic locking, and query analysis.
11 lines • 536 B
TypeScript
import { ForgeSqlOrmOptions } from "../core/ForgeSQLQueryBuilder";
/**
* Extracts all table names from SQL query using node-sql-parser, with regex fallback.
* Returns them as comma-separated string in format `table1`,`table2`.
*
* @param sql - SQL query string
* @param options - ForgeSQL ORM options for logging
* @returns Comma-separated string of unique table names in backticks
*/
export declare function extractBacktickedValues(sql: string, options: ForgeSqlOrmOptions): string;
//# sourceMappingURL=cacheTableUtils.d.ts.map