Welcome Guest, Not a member yet? Register   Sign In
count all result from a table using where clause
#3

[eluser]CroNiX[/eluser]
Either way, it still has to query the database and count the results. Do both ways and run the profiler and see which is more efficient. Not sure if you can use a where() with count_all_results(). Check the code for count_all_results(). Its doing a COUNT(field) and returning the num_rows().


Messages In This Thread
count all result from a table using where clause - by El Forum - 02-24-2012, 02:06 PM
count all result from a table using where clause - by El Forum - 02-24-2012, 03:56 PM
count all result from a table using where clause - by El Forum - 02-24-2012, 04:34 PM
count all result from a table using where clause - by El Forum - 02-24-2012, 09:19 PM



Theme © iAndrew 2016 - Forum software by © MyBB