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

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: 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:
              Jørgen Edelbo (Inactive)
              Reporter:
              Claus Rørbech (Inactive)
              Archiver:
              Marc Greenfield

                Created:
                Updated:
                Resolved:
                Archived: