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) 578 B
import { AxioDBCloud } from './AxioDBCloud.client'; /** * Delete Operation Proxy - Delete builder for remote deletes * Mirrors the DeleteOperation class API */ export default class DeleteOperationProxy { private client; private dbName; private collectionName; private query; constructor(client: AxioDBCloud, dbName: string, collectionName: string, query: object); /** * Delete one document matching the query */ deleteOne(): Promise<any>; /** * Delete many documents matching the query */ deleteMany(): Promise<any>; }