- or download this
$schema->resultset('foo')->search_literal('EXCEPT SELECT * FROM bar')
- or download this
SELECT * FROM foo WHERE ( EXCEPT SELECT * FROM BAR )
- or download this
$schema->resultset('items')->search({'mapping.container_id' => 1}, {jo
+in => 'mapping'});
- or download this
SELECT * FROM items LEFT JOIN mapping ON (items.item_id = mapping.item
+_id) WHERE mapping.container_id = 1
- or download this
SELECT items.item_id FROM items LEFT JOIN mapping ON (items.item_id =
+mapping.item_id)
EXCEPT SELECT items.item_id FROM items LEFT JOIN mapping ON (items.i
+tem_id = mapping.item_id) WHERE mapping.container_id = 1