React-Native android:持久存储选项是什么?
React-Native android: What are the persistent Storage options?
我能为 React-Native 获得的最接近 SQLite 的东西是什么android 用于存储表等的持久数据库存储
谢谢!
结果
领域(似乎是更好的选择。)
react-native-sqlite-storage
Realm 是 React Native 中扩展关系存储的优秀解决方案。它为许多 RN 组件(例如 ListViews)提供了出色的 API,并允许在 RN 代码中对数据集进行强大的查询。
正如他们的网站所解释的那样:
Realm React Native is a true database for React Native, not just a
key-value store. Save regular objects with full object relationships,
and query them for always-live results. But none of this means you
give up on performance at all. Realm React Native is actually much
faster than alternatives!
您可以使用 https://github.com/andpor/react-native-sqlite-storage。它易于使用和实施。
我能为 React-Native 获得的最接近 SQLite 的东西是什么android 用于存储表等的持久数据库存储
谢谢!
结果
领域(似乎是更好的选择。)
react-native-sqlite-storage
Realm 是 React Native 中扩展关系存储的优秀解决方案。它为许多 RN 组件(例如 ListViews)提供了出色的 API,并允许在 RN 代码中对数据集进行强大的查询。
正如他们的网站所解释的那样:
Realm React Native is a true database for React Native, not just a key-value store. Save regular objects with full object relationships, and query them for always-live results. But none of this means you give up on performance at all. Realm React Native is actually much faster than alternatives!
您可以使用 https://github.com/andpor/react-native-sqlite-storage。它易于使用和实施。