Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

sequelize is not null

// use operator Op.ne (not equal) to make your condition
YourTableModel.findAll({
	where: {
		deletedAt: {
			[Op.ne]: null
		}
	}
});
 
PREVIOUS NEXT
Tagged: #sequelize #null
ADD COMMENT
Topic
Name
7+4 =