CI_DB_query_builder::select_min()

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

Parameters:
  • $select (string) – Field to compute the minimum 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 MIN(field) clause to a query.

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

Please login to continue.