hydrate-mongodb
Version:
An Object Document Mapper (ODM) for MongoDB.
12 lines (11 loc) • 506 B
TypeScript
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;
}