Chuyển đến nội dung chính

Bài đăng

How to use SQLite Database in Swift

Before I start coding the app, I would like to give you some knowledge about database we are going to use – SQLite WHAT IS SQLITE? Four things to remember: SQLite is  Relational Database Management System  (RDBMS). SQLite is also known as  Embedded  because it is available as library that is linked with our application. There is no stand-alone server running in the background. You have to handle all the operations within the app through various functions provided by SQLite library. SQLite is written in  C programming language . So if we want to use SQLite in our application we might have to work with complicated C functions, data types and pointers. (But here, in this post I am going through easier approach; I am using already available SQLite wrapper [FMDB] interface between SQLite database and my swift application). Data available from SQLite database can be accessed using Structured Query Language, which is known as SQL (pronounced as Sequel). SQL i...