mirror of
https://github.com/knex/knex.git
synced 2025-08-14 19:50:49 +00:00

When this eventually enabled on the client side, we can build this into the build script.
17 lines
281 B
JavaScript
17 lines
281 B
JavaScript
// SQLite3 - Cordova (PhoneGap)
|
|
// ----------
|
|
var Sqlite3 = require('../base/sqlite3');
|
|
|
|
var Cordova = Sqlite3.extend({
|
|
|
|
query: function() {
|
|
|
|
},
|
|
|
|
getConnection: function() {
|
|
window.openDatabase(/* name, version, display_name, size */);
|
|
}
|
|
|
|
});
|
|
|
|
module.exports = Cordova; |