ottoman
Version:
Ottoman Couchbase ODM
16 lines (15 loc) • 654 B
TypeScript
import { ModelMetadata } from '../model/interfaces/model-metadata.interface';
import { ManyQueryResponse, StatusExecution } from './types';
/**
* Async Function: Deletes all of the documents that match conditions from the collection.
* Allows use of filters and options.
*
* @param ids List of documents to delete
*
* @return (ManyQueryResponse)[(/classes/queryresponse.html)]
*/
export declare const removeMany: (metadata: ModelMetadata) => (ids: any, options?: {}) => Promise<ManyQueryResponse>;
/**
* @ignore
*/
export declare const removeCallback: (id: string, metadata: ModelMetadata, extra: any, options: any) => Promise<StatusExecution>;