Few days ago I received a comment from one of the reader of my blog to show an example on CRUD (Create, Read, Update and Delete) with the database. So in this post we will explore the use of CRUD operation using SQLite database in PhoneGap application.
CRUD can be described as a process, which helps the user to add, view, search and modify the information inside the database.
Here are the basic steps which demonstrates CRUD operation.
- Create or add new entries
- Read, retrieve, search or view existing entries
- Update, modify or edit existing entries
- Delete, deactivate or destroy existing entries
Before doing any operation on database let’s initialize the database first, either using HTML5 local database concept or using SQLite plugin.
View original post 181 more words