UNPKG

hydrate-mongodb

Version:
12 lines (11 loc) 506 B
import { MappingBase } from "./mappingBase"; import { ReadContext } from "./readContext"; import { PropertyConverter } from "../config/configuration"; import { WriteContext } from "./writeContext"; export declare class ConverterMapping extends MappingBase { converter: PropertyConverter; constructor(converter: PropertyConverter); read(context: ReadContext, value: any): any; write(context: WriteContext, value: any): any; areEqual(documentValue1: any, documentValue2: any): boolean; }