UNPKG

nx

Version:

The core Nx plugin contains the core functionality of Nx like the project graph, nx commands and task orchestration.

15 lines (14 loc) 499 B
import { ExternalObject } from '../native'; export declare function getDbConnection(opts?: { directory?: string; dbName?: string; }): ExternalObject<any>; /** * Returns a DB connection scoped to the local worktree (not shared). * Use this for data that is inherently local to a worktree, such as * running task tracking, where sharing across worktrees would cause * false conflicts. */ export declare function getLocalDbConnection(opts?: { dbName?: string; }): ExternalObject<any>;