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)

10 lines (9 loc) 396 B
import { CoreRemoteMongoReadOperation } from "mongodb-stitch-core-services-mongodb-remote"; import RemoteMongoCursor from "./RemoteMongoCursor"; export default class RemoteMongoReadOperation<T> { private readonly proxy; constructor(proxy: CoreRemoteMongoReadOperation<T>); first(): Promise<T | undefined>; asArray(): Promise<T[]>; iterator(): Promise<RemoteMongoCursor<T>>; }