UNPKG

@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

17 lines (16 loc) 510 B
import type { AbstractDialect } from '../abstract-dialect/dialect.js'; /** * Determine if the default value provided exists and can be described * in a db schema using the DEFAULT directive. * * @param value Any default value. * @param dialect * @private */ export declare function defaultValueSchemable(value: unknown, dialect: AbstractDialect): boolean; /** * Returns true if a where clause is empty, even with Symbols * * @param obj */ export declare function isWhereEmpty(obj: object): boolean;