ottoman
Version:
Ottoman Couchbase ODM
14 lines (13 loc) • 519 B
TypeScript
/**
* Extract the values to be used on select clause.
*/
import { ISelectType } from '../../query';
export declare const extractSelect: (select: string | string[], options: {
noCollection?: boolean | undefined;
} | undefined, excludeMeta: boolean | undefined, modelKey: string) => string[];
export declare const getProjectionFields: (selectDot: string, select?: ISelectType[] | string | string[], options?: {
noCollection?: boolean;
}, modelKey?: string) => {
projection: string;
fields: string[];
};