Method

GomMigratorupdate

Declaration

DexFuture*
gom_migrator_update (
  GomMigrator* self,
  GomDriver* driver
)

Description

Runs any migration steps necessary to get from the previous version to the current version expected by the software.

Parameters

driver

Type: GomDriver

A GomDriver.

The data is owned by the caller of the method.

Return value

Type: DexFuture

A DexFuture that resolves to any value or rejects with error.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.