Uploaded image for project: 'Realm Core'
  1. Realm Core
  2. RCORE-967

[C-API] Ability to retrive schema version of a realm

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None

      Describe your problem or use case

      As part of migration (https://github.com/realm/realm-core/blob/master/src/realm.h#L72) we need to know the schema version to perform the appropriate migration steps from the old version to the new one. It is currently not possible to retrieve this through the C-API.

      Describe the solution you'd like

      Maybe just expose a realm_get_schema_version(realm_t)

            Assignee:
            jorgen.edelbo@mongodb.com Jørgen Edelbo
            Reporter:
            claus.rorbech@mongodb.com Claus Rørbech
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: