UNPKG

hydrate-mongodb

Version:
20 lines (19 loc) 574 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var MappingBuilder = (function () { function MappingBuilder(context, type, mapping) { this.context = context; this.type = type; this.mapping = mapping; } MappingBuilder.prototype.populate = function () { if (!this._populated) { this._populated = true; this.populateCore(); } }; MappingBuilder.prototype.populateCore = function () { }; return MappingBuilder; }()); exports.MappingBuilder = MappingBuilder;