typeorm
Version:
Data-Mapper ORM for TypeScript, ES7, ES6, ES5. Supports MySQL, PostgreSQL, MariaDB, SQLite, MS SQL Server, Oracle, MongoDB databases.
15 lines (14 loc) • 418 B
TypeScript
import { MongoFindOneOptions } from "./MongoFindOneOptions";
/**
* Defines a special criteria to find specific entities.
*/
export interface MongoFindManyOptions<Entity = any> extends MongoFindOneOptions<Entity> {
/**
* Offset (paginated) where from entities should be taken.
*/
skip?: number;
/**
* Limit (paginated) - max number of entities should be taken.
*/
take?: number;
}