CI_DB_query_builder::get_where()

get_where([$table = ''[, $where = NULL[, $limit = NULL[, $offset = NULL]]]])

Parameters:
  • $table (mixed) – The table(s) to fetch data from; string or array
  • $where (string) – The WHERE clause
  • $limit (int) – The LIMIT clause
  • $offset (int) – The OFFSET clause
Returns:

CI_DB_result instance (method chaining)

Return type:

CI_DB_result

Same as get(), but also allows the WHERE to be added directly.

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

Please login to continue.