Skip to main content
Module

x/typeorm/src/index.ts>MongoEntityManager#createCursor

Forked from https://github.com/typeorm/typeorm
Latest
method MongoEntityManager.prototype.createCursor
Re-export
import { MongoEntityManager } from "https://deno.land/x/typeorm@v0.2.23-rc10/src/index.ts";

Creates a cursor for a query that can be used to iterate over results from MongoDB.

Type Parameters

Entity
optional
T = any

Parameters

entityClassOrName: ObjectType<Entity> | EntitySchema<Entity> | string
optional
query: ObjectLiteral

Returns

Cursor<T>