typeorm
Version:
Data-Mapper ORM for TypeScript and ES2021+. Supports MySQL/MariaDB, PostgreSQL, MS SQL Server, Oracle, SAP HANA, SQLite, MongoDB databases.
12 lines (11 loc) • 333 B
TypeScript
import { ReturningOption } from "../query-builder/ReturningOption";
/**
* Special options passed to Repository#update and updateAll.
*/
export interface UpdateOptions {
/**
* Allows selecting custom RETURNING / OUTPUT clause.
* Works only on drivers with returning support.
*/
returning?: ReturningOption;
}