UNPKG

mongodb-stitch

Version:

[![Join the chat at https://gitter.im/mongodb/stitch](https://badges.gitter.im/mongodb/stitch.svg)](https://gitter.im/mongodb/stitch?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

7 lines (6 loc) 263 B
import { Codec } from "mongodb-stitch-core-sdk"; import RemoteMongoCollection from "./RemoteMongoCollection"; export default interface RemoteMongoDatabase { readonly name: string; collection<T>(name: string, codec?: Codec<T>): RemoteMongoCollection<T>; }