SQLite Expo API,预填充文件中没有这样的表?

Eri*_*ips 5 javascript sqlite react-native expo

我正在使用 Expo 的 SQLite API 将预先填充的数据库加载到我的项目中。

我正在使用

const db = SQLite.openDatabase("data.sqlite");
Run Code Online (Sandbox Code Playgroud)

打开它并

db.transaction(
  tx => {
    tx.executeSql(`select * from entries`, [], (_, { rows }) =>
      console.log(JSON.stringify(rows))
    );
  },
  (err) => { console.log("Failed Message", err) }
);
Run Code Online (Sandbox Code Playgroud)

运行 SQL。这会产生此错误消息:

Failed Message [Error: Error code 1: no such table: entries]
Run Code Online (Sandbox Code Playgroud)

另外:我的文件在项目文件夹中。

有什么想法吗?