Welcome Guest, Not a member yet? Register   Sign In
Why does $userModel->find(null) return all rows like $userModel->findAll()
#4

(03-20-2021, 06:45 AM)sba Wrote: But what's the idea behind this? Why does it return all records when I say find(null)?
this is semantically nonsense... search for nothing should return nothing and not all. This would be more logical for my understanding..

Well, you have a point.
Reply


Messages In This Thread
RE: Why does $userModel->find(null) return all rows like $userModel->findAll() - by kenjis - 03-20-2021, 06:06 PM



Theme © iAndrew 2016 - Forum software by © MyBB