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.
8 lines • 391 B
TypeScript
import { AsyncLocalStorage } from "node:async_hooks";
export type OperationType = "DML" | "DDL";
export type OperationTypeQueryContext = {
operationType: OperationType;
};
export declare const operationTypeQueryContext: AsyncLocalStorage<OperationTypeQueryContext>;
export declare function getOperationType(): Promise<OperationType>;
//# sourceMappingURL=requestTypeContextUtils.d.ts.map