AlaSQL / alasql

AlaSQL.js - JavaScript SQL database for browser and Node.js. Handles both traditional relational tables and nested JSON data (NoSQL). Export, store, and import data from localStorage, IndexedDB, or Excel.
http://alasql.org
MIT License
7.01k stars 653 forks source link

Check compatibility Alasql with Cordova #41

Open agershun opened 9 years ago

agershun commented 9 years ago

Goal: Check, if Alasql can work with Cordova

Questions: a) If Alasql core functions work? b) Which persistence databases work with Alasql and Cordova?

Results

a) Alasql works with Cordova (at least in browser and iOS) b) Alasql can work with localStorage (at least in browser and iOS)

agershun commented 9 years ago

New Cordova test results: a) Alasql works with iOS emulator under OSX b) Alasql works with iPhone

agershun commented 9 years ago

Now Alasql works with Windows 8 platform

antony-k1208 commented 9 years ago

we still have an "undefined" under ionic/cordova:

   error: ReferenceError: Can't find variable: alasql

Same issue is posted and not answered here:

http://stackoverflow.com/questions/31892503/cant-find-variable-alasql-in-phonegap-app-for-ios-alasql-0-2-0

works under android, only iOS is causing problems. Any suggestions?

mathiasrw commented 9 years ago

Thanks for getting back to us.

@agershun - do you have any inputs?

hkcity1111 commented 8 years ago

I also show me the following error under phonegap 5.3.9. Is there any hint to fix the problem. Thanks a lot!

ReferenceError: Can't find variable: alasql

mathiasrw commented 8 years ago

@hkcity1111 How do you include the library?