Is there no longer a need for num_rows()? |
(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. |
Messages In This Thread |
Is there no longer a need for num_rows()? - by tgix - 08-11-2019, 10:04 PM
RE: Is there no longer a need for num_rows()? - by dave friend - 08-12-2019, 02:17 AM
RE: Is there no longer a need for num_rows()? - by tgix - 08-12-2019, 02:54 AM
RE: Is there no longer a need for num_rows()? - by dave friend - 08-12-2019, 09:38 AM
RE: Is there no longer a need for num_rows()? - by InsiteFX - 08-13-2019, 04:20 AM
RE: Is there no longer a need for num_rows()? - by dave friend - 08-13-2019, 05:10 AM
RE: Is there no longer a need for num_rows()? - by Stormbringer - 10-18-2019, 04:53 AM
RE: Is there no longer a need for num_rows()? - by sneakyimp - 12-28-2020, 03:39 PM
|