Exemple #1
0
 /**
  * Add a NOT IN condition
  * 
  * @param string $field     Field name to filter
  * @param array $values     Array or comma separated list of values to check if present in field
  * @param string $type      [optional] Type of request AND or OR. Default is 'AND'
  * @return f_db_Delete      Current instance of f_db_Delete
  */
 public function whereNotIn($field, $values, $type = 'AND')
 {
     return parent::whereNotIn($field, $values, $type);
 }
Exemple #2
0
 /**
  * Add a having condition
  *
  * @param string $key       Column to filter on
  * @param mixed $value      [optional] Value to search, set it to null if values are directly setted in $key. Default is null
  * @param string $type      [optional] Type of request AND or OR. Default is 'AND'
  * @return f_db_Select      Current instance of f_db_Select
  */
 public function having($key, $value = null, $type = 'AND')
 {
     return parent::having($key, $value, $type);
 }