Is it possible to read/write to a local database inside a chrome extension?

31 visualizzazioni
Passa al primo messaggio da leggere

Benjamin Moses Lieb

da leggere,
10 set 2017, 15:28:1210/09/17
a Chromium-Extensions-Announce

: Is it possible to read/write to a local database inside a chrome extension?  I'm making a chrome extension that will need to look up information in med sized data files that will come with the extension, but would prefer sql.

What options are available?

Thanks!

Ben

PhistucK

da leggere,
10 set 2017, 16:45:5810/09/17
a Benjamin Moses Lieb, Chromium-Extensions-Announce
You cannot run SQL queries on actual files (raw SQLite access is not available).
The deprecated Web SQL Databases are available, but you will have to put the data there first.


PhistucK

--
You received this message because you are subscribed to the Google Groups "Chromium-Extensions-Announce" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extensions+unsub...@chromium.org.
To post to this group, send email to chromium-extensions@chromium.org.
Visit this group at https://groups.google.com/a/chromium.org/group/chromium-extensions/.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/49b94ede-1708-484b-ad0b-e7f84604a042%40chromium.org.
For more options, visit https://groups.google.com/a/chromium.org/d/optout.

Chuck Baker

da leggere,
10 set 2017, 18:07:3510/09/17
a Chromium-Extensions-Announce
I have used TaffyDb (http://taffydb.com/) and store/load it from Chrome localStorage.  It suits all my needs so far.
Rispondi a tutti
Rispondi all'autore
Inoltra
0 nuovi messaggi