CI_DB_query_builder::set_insert_batch()

set_insert_batch($key[, $value = ''[, $escape = NULL]])

Parameters:
  • $key (mixed) – Field name or an array of field/value pairs
  • $value (string) – Field value, if $key is a single field
  • $escape (bool) – Whether to escape values and identifiers
Returns:

CI_DB_query_builder instance (method chaining)

Return type:

CI_DB_query_builder

Adds field/value pairs to be inserted in a table later via insert_batch().

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

Please login to continue.