CI_DB_query_builder::select_max()

select_max([$select = ''[, $alias = '']])

Parameters:
  • $select (string) – Field to compute the maximum of
  • $alias (string) – Alias for the resulting value name
Returns:

CI_DB_query_builder instance (method chaining)

Return type:

CI_DB_query_builder

Adds a SELECT MAX(field) clause to a query.

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

Please login to continue.