CI_DB_query_builder::having()

having($key[, $value = NULL[, $escape = NULL]])

Parameters:
  • $key (mixed) – Identifier (string) or associative array of field/value pairs
  • $value (string) – Value sought if $key is an identifier
  • $escape (string) – Whether to escape values and identifiers
Returns:

CI_DB_query_builder instance (method chaining)

Return type:

CI_DB_query_builder

Adds a HAVING clause to a query, separating multiple calls with AND.

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

Please login to continue.