Welcome Guest, Not a member yet? Register   Sign In
Is there no longer a need for num_rows()?
#3

(08-12-2019, 02:17 AM)daveĀ friend Wrote: I think you're looking for $builder->countAllResults()

Yeah, but that queries the database again, which num_rows() in CI3 doesn't do. I guess I'll do the count() once and then keep the result as a variable.
Reply


Messages In This Thread
RE: Is there no longer a need for num_rows()? - by tgix - 08-12-2019, 02:54 AM



Theme © iAndrew 2016 - Forum software by © MyBB