UNPKG

nodedb-json

Version:

A lightweight JSON-based database for Node.js with TypeScript support, indexing, and complex query capabilities

8 lines (7 loc) 257 B
import { DatabaseError } from './database-error.js'; /** * Raised when a unique index sees the same field value more than once. */ export declare class DuplicateIndexError extends DatabaseError { constructor(key: string, field: string, value: any); }