UNPKG

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.

10 lines 472 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.operationTypeQueryContext = void 0; exports.getOperationType = getOperationType; const node_async_hooks_1 = require("node:async_hooks"); exports.operationTypeQueryContext = new node_async_hooks_1.AsyncLocalStorage(); async function getOperationType() { return exports.operationTypeQueryContext.getStore()?.operationType ?? "DML"; } //# sourceMappingURL=requestTypeContextUtils.js.map