Welcome Guest, Not a member yet? Register   Sign In
orWhere query shows soft deleted entries
#1

Hi I have the following problem with my query. It shows also the entries from my database which are soft deleted. In the deleted_at there is a date and time but it is still shown in the results. Here is my query maybe Im doing something wrong. Thanks for helping me....
Code:
$data["offeneAnfragen"] = $this->work->where("genehmigt is null", Null)->orWhere('genehmigt', 0)->join("user", "user.id = urlaub.user_id ")->orderBy("user_id")->findAll();

Thanks
Reply


Messages In This Thread
orWhere query shows soft deleted entries - by Gehasi - 01-08-2024, 02:58 AM



Theme © iAndrew 2016 - Forum software by © MyBB