vertx/src/main/java/eu/internetofus/common/vertx/Repository.java
/**
   * Update all the document of a collection to have the current schema version.
   *
   * @param version        to set.
   * @param collectionName name of the collection to update.
   *
   * @return a future that inform if the documents of the collections are updated
   *         or not.
   *
   */
Update all the document of a collection to have the current schema version.
@param version        to set.
@param collectionName name of the collection to update.

@return a future that inform if the documents of the collections are updated
or not.
Update all the document of a collection to have the current schema version . @param version to set . @param collectionName name of the collection to update . @return a future that inform if the documents of the collections are updated or not .
protected Future<Void> migrateSchemaVersionOnCollectionTo(final String version, final String collectionName) {
    final var query = this.createQueryToReturnDocumentsWithAVersionLessThan(version);
    final var update = this.createUpdateForSchemaVersion(version);
    return this.updateCollection(collectionName, query, update);
  }
protected Future < Void > migrateSchemaVersionOnCollectionTo ( final String version , final String collectionName ) { final var query = this . createQueryToReturnDocumentsWithAVersionLessThan ( version ) ; final var update = this . createUpdateForSchemaVersion ( version ) ; return this . updateCollection ( collectionName , query , update ) ; }
Update all the document of a collection to have the current schema version.
Update all the document of a collection to have the current schema version .