UNPKG

axiodb

Version:

The Pure JavaScript Alternative to SQLite. Embedded NoSQL database for Node.js with MongoDB-style queries, zero native dependencies, built-in InMemoryCache, and web GUI. Perfect for desktop apps, CLI tools, and embedded systems. No compilation, no platfor

21 lines (20 loc) 602 B
import { AxioDBCloud } from './AxioDBCloud.client'; /** * Update Operation Proxy - Update builder for remote updates * Mirrors the UpdateOperation class API */ export default class UpdateOperationProxy { private client; private dbName; private collectionName; private query; constructor(client: AxioDBCloud, dbName: string, collectionName: string, query: object); /** * Update one document matching the query */ UpdateOne(data: object): Promise<any>; /** * Update many documents matching the query */ UpdateMany(data: object): Promise<any>; }