mongodb-stitch
Version:
[](https://gitter.im/mongodb/stitch?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
13 lines • 529 B
JavaScript
import RemoteMongoCollectionImpl from "./RemoteMongoCollectionImpl";
var RemoteMongoDatabaseImpl = (function () {
function RemoteMongoDatabaseImpl(proxy) {
this.proxy = proxy;
this.name = this.proxy.name;
}
RemoteMongoDatabaseImpl.prototype.collection = function (name, codec) {
return new RemoteMongoCollectionImpl(this.proxy.collection(name, codec));
};
return RemoteMongoDatabaseImpl;
}());
export default RemoteMongoDatabaseImpl;
//# sourceMappingURL=RemoteMongoDatabaseImpl.js.map