Offline database for native Cordova Applicaition

Recently I was looking at few blogs and couldn't find the solution to my problem. I am trying to achieve following things in native cordova app.

1.Creating native cordova app using visual studio 2013. Got that working 2. Looking to store some data when app is offline. IndexDB, WebSql and local storage is not any option as data can be more than their actual limit. Therefore cannot use PouchDB and Taffy. 3. Find few things on sqllite but don't know if we can connect to sqllite db file via javascript.

Any help and direction will be really helpful?

Answers


I think this plugin for cordova fits your needs: https://github.com/brodysoft/Cordova-SQLitePlugin

Implements Native sqlite dB access without the 5MB that normally limits websql HTML5. Almost all sqlite capabilities are covered.

You can also integrate this plugin with SQLcypher if you have security requirements.


Need Your Help

How to check in a sproc if a datetime2 value is the minimum value?

sql-server-2008 c#-4.0

I have a SQL Server 2008 stored procedure that takes a datetime2 parameter. If the user passes in the minimum value I don't want to run part of the sproc. My question is, what is the best way to ch...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.