Docs Menu

Docs HomeRealm

Change an Object Model - Java SDK

On this page

  • A. Add a Property
  • B. Delete a Property
  • C. Modify a Property Type or Rename a Property
  • D. Migration Functions

Tip

You can use the RealmConfiguration.shouldDeleteRealmIfMigrationNeeded() builder method when constructing a realm to delete the realm instead of performing a migration when a migration is required. This can come in handy during development when schemas often change.

←  Relationships - Java SDKRealm Data Types - Java SDK →
Share Feedback
© 2023 MongoDB, Inc.

About

  • Careers
  • Investor Relations
  • Legal Notices
  • Privacy Notices
  • Security Information
  • Trust Center
© 2023 MongoDB, Inc.