as

Settings
Sign out
Notifications
Alexa
亚马逊应用商店
AWS
文档
Support
Contact Us
My Cases
新手入门
设计和开发
应用发布
参考
支持
跳转到主要内容
@amazon-devices/expo-sqlite gives your app access to a database that can be queried through a WebSQL-like API. The database is persisted across restarts of your app.

Installation

  1. Add the JavaScript library dependency in the package.json file. Select the tab for your React Native version.
  1. Reinstall dependencies using npm install command and rebuild your application with the vega build command.

Examples

The example below provides a comprehensive example showing full database operations flow in a typical application.

API reference

See the official Expo documentation.

Classes

SQLError properties

SQLiteDatabase properties

SQLiteDatabase methods

Methods

Additional resources

For information on additional libraries, see Supported Third-Party Libraries and Services.
最后修改于 2026年10月13日