ottoman
Version:
Ottoman Couchbase ODM
10 lines (9 loc) • 386 B
TypeScript
import { ViewQueryOptions } from 'couchbase';
import { Ottoman } from '../../../ottoman/ottoman';
/**
* Index function factory.
*/
export declare const buildViewIndexQuery: (ottoman: Ottoman, designDocName: any, indexName: any, fields: any, Model: any) => (values: any | any[], options?: ViewQueryOptions) => Promise<{
rows: any[];
meta: import("couchbase").ViewMetaData;
}>;