Beispiel #1
0
 public static function delete_all($class_name, $conditions = null)
 {
     $sql = 'DELETE FROM ' . self::get_table_name($class_name);
     SqlBuilder::add_conditions($sql, $conditions);
     self::$connection->delete($sql);
 }