How to use SQLite db in google extension

3,098 views
Skip to first unread message

Khaled Dev

unread,
Oct 2, 2014, 7:46:48 AM10/2/14
to chromium-...@chromium.org
I want to create an extension , that autocomplete a user input word , so I want to create a database, and insert more than 1000.000 items in it , then query this database , Can i use SQLLite ?

PhistucK

unread,
Oct 2, 2014, 11:56:35 AM10/2/14
to Khaled Dev, Chromium-extensions
Maybe using PNaCl...


PhistucK

On Thu, Oct 2, 2014 at 2:46 PM, Khaled Dev <boubk...@gmail.com> wrote:
I want to create an extension , that autocomplete a user input word , so I want to create a database, and insert more than 1000.000 items in it , then query this database , Can i use SQLLite ?

--
You received this message because you are subscribed to the Google Groups "Chromium-extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extens...@chromium.org.
To post to this group, send email to chromium-...@chromium.org.
Visit this group at http://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/ca8409de-887a-4b75-b3a8-4388c4438916%40chromium.org.
For more options, visit https://groups.google.com/a/chromium.org/d/optout.

Message has been deleted

Nandu

unread,
Oct 2, 2014, 1:10:12 PM10/2/14
to chromium-...@chromium.org, boubk...@gmail.com
is there a sqlite port for nacl?


On Thursday, October 2, 2014 8:56:35 AM UTC-7, PhistucK wrote:
Maybe using PNaCl...


PhistucK

On Thu, Oct 2, 2014 at 2:46 PM, Khaled Dev <boubk...@gmail.com> wrote:
I want to create an extension , that autocomplete a user input word , so I want to create a database, and insert more than 1000.000 items in it , then query this database , Can i use SQLLite ?

--
You received this message because you are subscribed to the Google Groups "Chromium-extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extensions+unsub...@chromium.org.

Antony Sargent

unread,
Oct 23, 2014, 3:40:38 PM10/23/14
to Nandu, Chromium-extensions, boubk...@gmail.com
Chrome has built-in sqlite support in the form of the HTML5 Web SQL Database API. Note that the API is considered deprecated by the W3C, although I haven't heard of any plans to remove it from Chrome in the near future. 

The alternative web technology which is supported going forward is called Indexed DB, which is a lower level primitive lacking a SQL query language. But there are some sql implementations being built on top of it - one that you might investigate is a project being worked on by some folks at Google: https://github.com/google/lovefield


To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extens...@chromium.org.

To post to this group, send email to chromium-...@chromium.org.
Visit this group at http://groups.google.com/a/chromium.org/group/chromium-extensions/.
Reply all
Reply to author
Forward
0 new messages