ottoman
Version:
Ottoman Couchbase ODM
11 lines (10 loc) • 327 B
TypeScript
import { TransactionAttemptContext } from 'couchbase';
interface RemoveOptions {
timeout?: number;
transactionContext?: TransactionAttemptContext;
}
/**
* Removes a document by id from a given collection.
*/
export declare const remove: (id: any, collection: any, options?: RemoveOptions) => Promise<any>;
export {};