@blueleader07/typeorm
Version:
Data-Mapper ORM for TypeScript, ES7, ES6, ES5. Supports MySQL, PostgreSQL, MariaDB, SQLite, MS SQL Server, Oracle, MongoDB databases.
12 lines (11 loc) • 370 B
TypeScript
import { FindOneOptions } from "../FindOneOptions";
import { ObjectLiteral } from "../../common/ObjectLiteral";
/**
* Defines a special criteria to find specific entity.
*/
export declare type MongoFindOneOptions<Entity = any> = FindOneOptions<Entity> & {
/**
* Simple condition that should be applied to match entities.
*/
where?: ObjectLiteral;
};