@sequelize/core
Version:
Sequelize is a promise-based Node.js ORM tool for Postgres, MySQL, MariaDB, SQLite, Microsoft SQL Server, Amazon Redshift, Snowflake’s Data Cloud, Db2, and IBM i. It features solid transaction support, relations, eager and lazy loading, read replication a
14 lines (12 loc) • 432 B
TypeScript
import type { Hookable } from './model';
// TODO: move this to "validate". "validate" should accept either ValidationOptions or a boolean
export interface ValidationOptions extends Hookable {
/**
* An array of strings. All properties that are in this array will not be validated
*/
skip?: string[];
/**
* An array of strings. Only the properties that are in this array will be validated
*/
fields?: string[];
}