public static function delete($collection, $criteriaQuery = array())
  {
    static::checkConnexion();
    $collection = self::$db->$collection;
    if (is_string($criteriaQuery)) {
      $criteriaQuery = json_decode($criteriaQuery, true);
      if (!$criteriaQuery) {
        throw new \Exception('criteriaQuery JSON formulée incorrectement');
      }
    }
    $r = $collection->remove($criteriaQuery, array('justOne' => false));
    if ($r['ok']) {
      return true;
    }
    return false;
  }