移動數據庫引擎Realm?v1.0.1 發布

jopen 8年前發布 | 8K 次閱讀 Realm 數據庫 移動數據庫

Realm 是一個跨平臺的移動數據庫引擎,可運行于手機、平板和可穿戴設備之上。于 2014 年 7 月發布,準確來說,它是專門為移動應用所設計的數據持久化解決方案之一。 Realm 可以輕松地移植到您的項目當中,并且絕大部分常用的功能(比如說插入、查詢等等)都可以用一行簡單的代碼輕松完成! Realm 并不是對 Core Data 的簡單封裝,相反地, Realm 并不是基于 Core Data ,也不是基于 SQLite 所構建的。它擁有自己的數據庫存儲引擎,可以高效且快速地完成數據庫的構建操作。

更新日志

功能增強

  • Significantly improve performance of opening Realm files, and slightly improve performance of committing write transactions.

Bug修復

  • Swift: Fix an error thrown when trying to create or update Object instances via add(:_update:)with a primary key property of type RealmOptional.
  • Xcode playground in Swift release zip now runs successfully.
  • The key parameter of Realm.objectForPrimaryKey(_:key:)/Realm.dynamicObjectForPrimaryKey(_:key:) is now marked as optional.
  • Fix a potential memory leak when closing Realms after a Realm file has been opened on multiple threads which are running in active run loops.
  • Fix notifications breaking on tvOS after a very large number of write transactions have been committed.
  • Fix a "Destruction of mutex in use" assertion failure after an error while opening a file.
  • Realm now throws an exception if an Object subclass is defined with a managed Swift lazyproperty. Objects with ignored lazy properties should now work correctly.
  • Update the LLDB script to work with recent changes to the implementation of RLMResults.
  • Fix an assertion failure when a Realm file is deleted while it is still open, and then a new Realm is opened at the same path. Note that this is still not a supported scenario, and may break in other ways.

下載

 本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!