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

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

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

更新日志

API重大更改

  • Attempting to add an object with no properties to a Realm now throws rather than silently doing nothing.

功能增強

  • Swift: A write block may now throw, reverting any changes already made in the transaction.
  • Reduce address space used when committing write transactions.
  • Significantly reduce the download size of prebuilt binaries and slightly reduce the final size contribution of Realm to applications.
  • Improve performance of accessing RLMArray properties and creating objects with List properties.

Bug修復

  • Fix a crash when reading the shared schema from an observed Swift object.
  • Fix crashes or incorrect results when passing an array of values to createOrUpdate after reordering the class's properties.
  • Ensure that the initial call of a Results notification block is always passed .Initial even if there is a write transaction between when the notification is added and when the first notification is delivered.
  • Fix a crash when deleting all objects in a Realm while fast-enumerating query results from that Realm.
  • Handle EINTR from flock() rather than crashing.
  • Fix incorrect behavior following a call to [RLMRealm compact].
  • Fix live updating and notifications for Results created from a predicate involving an inverse relationship to be triggered when an object at the other end of the relationship is modified.

下載

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