Skip to main content

isNotNull

isNotNull(column: string)

import { OP, Param } from 'mysql2-orm';

/**
* { condition: '`preferences` IS NOT NULL', params: [] }
*/
OP.isNotNull('preferences');

/**
* { condition: '`updatedAt` IS NOT NULL', params: [] }
*/
OP.isNotNull('updatedAt');