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

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

 

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

 

更新日志

API 重大更改

  • Deprecate migrateRealm: in favor of new performMigrationForConfiguration:error: method that follows Cocoa's NSError conventions.
  • Fix issue where RLMResults used idinstead of its generic type as the return type of subscript.

新增功能

  • Improve error message when using NSNumber incorrectly in Swift models.
  • Further reduce the download size of the prebuilt static libraries.
  • Improve sort performance, especially on non-nullable columns.
  • Allow partial initialization of object by initWithValue:, deferring required property checks until object is added to Realm.

Bug修復

  • Fix incorrect truncation of the constant value for queries of the form column < value for float anddouble columns.
  • Fix crash when an aggregate is accessed as an Int8Int16Int32, or Int64.
  • Fix a race condition that could lead to a crash if an RLMArray or List was deallocated on a different thread than it was created on.
  • Fix a crash when the last reference to an observed object is released from within the observation.
  • Fix a crash when initWithValue: is used to create a nested object for a class with an uninitialized schema.
  • Enforce uniqueness for RealmOptional primary keys when using the value setter.

 

下載

 

本站原創,轉載時保留以下信息:
本文轉自:深度開源(open-open.com)
原文地址:http://www.baiduhome.net/news/view/7c7a24ec

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