mongodb-stitch
Version:
[](https://gitter.im/mongodb/stitch?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
10 lines (9 loc) • 396 B
TypeScript
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>>;
}