History log of /expo/packages/expo-sqlite/src/SQLite.web.ts (Results 1 – 3 of 3)
Revision Date Author Comments
# 8285c032 13-Aug-2021 Tomasz Sapeta <[email protected]>

Rename unimodules imports to expo-modules-core


# e11b7986 29-May-2020 Stanisław Chmiela <[email protected]>

[expo-sqlite] Fix Web support (#8518)

# Why

I wanted to clear the way for https://github.com/expo/expo/pull/8242 to be landed (or not). I noticed that web support doesn't look like it should work

[expo-sqlite] Fix Web support (#8518)

# Why

I wanted to clear the way for https://github.com/expo/expo/pull/8242 to be landed (or not). I noticed that web support doesn't look like it should work and that it isn't tested anywhere.

# How

- added SQLite test suite to set run on web
- changed the way we fetch values in test suite from using `._array[0]` to `.item(0)`
- added explanations in `SQLite.types.ts` about why we may need a copy of `@types/websql`
- added `Window` declaration to types declarations
- removed `@types/websql` dependency as it's not even importable
- fixed web counterpart — `SQLite.web.ts` — by fixing the method header and gracefully handling situation where `openDatabase` is not available (I think).

# Test Plan

Test suite passes.

show more ...


# 2ee87287 21-Jan-2019 Szymon20000 <[email protected]>

[expo-sqlite] Extract SQLite API into a universal module (#3071)

# Why

Closes https://github.com/expo/expo/issues/3026

# How

Followed https://github.com/expo/expo/blob/master/guides/Creatin

[expo-sqlite] Extract SQLite API into a universal module (#3071)

# Why

Closes https://github.com/expo/expo/issues/3026

# How

Followed https://github.com/expo/expo/blob/master/guides/Creating%20Universal%20Modules.md.

# Test Plan

Ran https://snack.expo.io/BJGgVWSxV in sandbox.

show more ...