![]() |
Hi guys,
I'm using soft delete for my models, and now I want to display a list of deleted records to the user. I thought this should be straight forward, but I'm stuck. The idea was, just to select all records where the deleted_at field IS NOT NULL: return $this->myModel->select('id, text) ->where('deleted_at IS NOT NULL')->orderBy($order)->find(); For some reason, this returns nothing. But there are records where the deleted_at field is filled. How can I dos this? Thanks!
|
Welcome Guest, Not a member yet? Register Sign In |