expo-sqlite
Version:
Provides access to a database using SQLite (https://www.sqlite.org/). The database is persisted across restarts of your app.
13 lines • 411 B
JavaScript
import { requireNativeModule } from 'expo';
let ExpoSQLite;
if (typeof window === 'undefined') {
ExpoSQLite = require('../web/SQLiteModule.node').default;
}
else if (typeof globalThis.ExpoDomWebView !== 'undefined') {
ExpoSQLite = requireNativeModule('ExpoSQLite');
}
else {
ExpoSQLite = require('../web/SQLiteModule').default;
}
export default ExpoSQLite;
//# sourceMappingURL=ExpoSQLite.web.js.map