How to write not in query in cakephp find : I have created one sql sub query which was running perfectly.

    SELECT o.*, u.*,OD.* FROM orders o LEFT JOIN order_details OD on o.id = OD.order_id LEFT JOIN users u ON o.user_id = u.id WHERE o.order_status = 1 AND o.id NOT IN (SELECT r.order_id FROM order_rejected_details r WHERE r.courier_id = $courierId) order by o.id desc

Now my question is How to write above query with not in condition in cakephp.

plz help me to write this with cakephp find..
