UNPKG

@athenna/database

Version:

The Athenna database handler for SQL/NoSQL.

23 lines (22 loc) 639 B
/** * @athenna/database * * (c) João Lenon <lenon@athenna.io> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ import { ConstraintViolationException } from '#src/exceptions/ConstraintViolationException'; export type NotNullViolationMeta = { table?: string; column?: string; driver?: string; raw?: any; }; export declare class NotNullViolationException extends ConstraintViolationException { /** * The column that received a null value, when known. */ column?: string; constructor(meta?: NotNullViolationMeta); }