background preloader

Sqlite-javascript

Facebook Twitter

Javascript database. JavaScript Native Extensions. SpiderApe: sqlite3 bindings for JavaScript. CVSTrac. Storage - MDC. Storage is a SQLite database API. It is available to trusted callers, meaning extensions and Firefox components only. The API is currently "unfrozen", which means it is subject to change at any time; in fact, it has changed somewhat with each release of Firefox since it was introduced, and will likely continue to do so for a while. Note: Storage is not the same as the DOM:Storage feature which can be used by web pages to store persistent data or the Session store API (an XPCOM storage utility for use by extensions). Getting started This document covers the Storage API and some peculiarities of SQLite. The overall procedure for use is: Get the Storage service - mozIStorageService. Opening a connection JavaScript example of opening my_db_file_name.sqlite in the profile directory: Likewise, the C++ would look like this: Closing a connection To close a connection on which only synchronous transactions were performed, use the mozIStorageConnection.close() method.

Statements Creating a Statement locale. Jslibs - Google Code. Text* Snippets: Sqlite helper library for Mozilla [javascript] [