CI_DB_query_builder::count_all_results()

count_all_results([$table = ''[, $reset = TRUE]])

Parameters:
  • $table (string) – Table name
  • $reset (bool) – Whether to reset values for SELECTs
Returns:

Number of rows in the query result

Return type:

int

Generates a platform-specific query string that counts all records returned by an Query Builder query.

doc_CodeIgniter
2016-10-15 16:31:12
Comments
Leave a Comment

Please login to continue.