Example #1
0
 /**
  * Shorthand for $this->db->escapeIdentifier()
  *
  * Feel free to use for table/column names, but DO NOT use this for values!
  * 
  * @param string $identifier
  * @return string
  */
 public function e(string $identifier) : string
 {
     return $this->db->escapeIdentifier($identifier);
 }
Example #2
0
 /**
  * IS NOT NULL condition
  *
  * @access public
  * @param  string   $column
  */
 public function notNull($column)
 {
     $this->addCondition($this->db->escapeIdentifier($column) . ' IS NOT NULL');
 }