Skip to main content
Module

x/typeorm/src/index.ts>MongoRepository#createEntityCursor

Forked from https://github.com/typeorm/typeorm
Latest
method MongoRepository.prototype.createEntityCursor
Re-export
import { MongoRepository } 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. This returns modified version of cursor that transforms each result into Entity model.

Parameters

optional
query: ObjectLiteral

Returns

Cursor<Entity>