dce-mango
Version:
Harvard DCE's Non-relational DB Wrapper.
10 lines (9 loc) • 418 B
TypeScript
/**
* Process the result of a find query to match the DocumentType, by removing `_id` and adding timestamps.
* @author Gabe Abrams
* @param item the item to be processed
* @param includeMongoTimestamp whether to include a timestamp or not
* @returns the processed item, after removing _id
*/
declare const processFindResult: (item: any, includeMongoTimestamp?: boolean) => any;
export default processFindResult;