Helper to create array overlaps condition PostgreSQL: && operator
// Find products where tags overlaps with ['electronics', 'sale']Product.findAll({ where: arrayOverlaps('tags', ['electronics', 'sale']) })// SQL: WHERE tags && ARRAY['electronics', 'sale'] Copy
// Find products where tags overlaps with ['electronics', 'sale']Product.findAll({ where: arrayOverlaps('tags', ['electronics', 'sale']) })// SQL: WHERE tags && ARRAY['electronics', 'sale']
Helper to create array overlaps condition PostgreSQL: && operator