Introduction of SQLiteSQLite is a pure C implementation, so doomed it is a cross-platform tool, both under the Android and iOS can be used, but also can write common code, convenient for us to transplant. Of course, Android and iOS have encapsulated SQLite for developers to use, but this is not easy to transplant, the other is the efficiency of the package after
database table structure and other information can be found. The search is also a problem when the contents of the write to the database are encrypted.
2. Encrypt the database file
The whole database is encrypted, which can basically solve the information security problem of the database. The existing SQLite encryption is basically implemented in this way. Here is an open source encryption tool Sqlcipher, installation method can refer to the offici
SQLite tutorial (1): SQLite database introduction, sqlite Database
I. Introduction:
SQLite is currently the most popular open-source embedded database. compared with many other embedded storage engines (NoSQL), such as BerkeleyDB and MemBASE,
Data sqlite for IOS development, sqlite for ios development
1. Introduce the Toolkit
Introduce the Toolkit libsqlite3.dylib, which is the C language toolkit.
Ii. Code operation Database
1. Create and connect to the database
-(Void) _ connectDB {// 1> obtain the sandbox path as the initiali
SQLite tutorial (11): temporary files, sqlite tutorial
I. Introduction:
Although the SQLite database is composed of a single file, some hidden temporary files exist in the SQLite runtime. These temporary files exist for different
SQLite tutorial (II): C/C ++ interface introduction, sqlite tutorial
I. Overview:
Five of the C/C ++ interfaces provided by SQLite are core interfaces. In this blog, we will mainly introduce their usage and the core SQLite objects
SQLite tutorial (9): online backup and sqlite tutorial online backup
I. Common backup:
The following method is a simple and commonly used SQLite database backup method, as shown in the following steps:1) Use the SQLite API or Shel
SQLite tutorial (5): database and transaction, sqlite tutorial
I. Attach database:
The attach database statement adds another DATABASE file to the current connection. If the file name is ": memory:", we can regard it as a memory DATABASE, and the memory DATABASE cannot be persisted to the disk file. If you operate a ta
SQLite for iOS development-C language interface specifications (iii) -- Binding Values To Prepared Statements, sqlite -- cbinding
The previous blog introduced how to connect to the SQLite database and query and traverse result sets. Sqlite3_stmt * stmt is used before, that is, the pre-compiled SQL statement. In this bl
SQLite tutorial (10): Memory Database and temporary database, sqlite tutorial
I. Memory Database:
In SQLite, databases are usually stored in disk files. However, in some cases, we can keep the database in the memory. The most common method is to pass ": memory:" To the datab
SQLite tutorial (4): built-in functions, sqlite tutorial built-in functions
1. Aggregate functions:
The aggregate functions supported by SQLite are also supported in many other relational databases. Therefore, here we will just give a brief description of each aggregate func
StatementYou are welcome to repost this article, but please respect the author's Labor achievements. repost this article and keep the statement in this box. Thank you.Article Source: http://blog.csdn.net/iukey
SQLite is implemented in pure C, so it is doomed to be a cross-platform tool that can be used in both Android and iOS, and can completely write common code for us to transplant. Of course,
SQLite tutorial (III): Introduction to data tables and views, sqlite View
1. Create a data table:
The syntax rules and usage of this command are basically the same as those of most relational databases. Therefore, we use examples to demonstrate the rules for creating tables in SQLite. However, we will provide additiona
SQLite tutorial (14): C language programming example code (2), sqlite programming example
3. Efficient batch data insertion:
Before giving the operation steps, let's briefly describe the concept of batch insert to help you read the subsequent sample code. In fact, batch insert is not a new concept. It is supported in the C interface APIs of other relational datab
SQLite tutorial (12): detailed explanation of lock and concurrency control, and detailed description of sqlite
I. Overview:
In SQLite, the lock and concurrency control mechanisms are handled by the pager_module module, such as ACID (Atomic, Consistent, Isolated, and Durable ). In transactions that contain data modifica
Iot framework ServerSuperIO tutorial-19. device drivers and OPC Client Support persistence of mysql, oracle, sqlite, and sqlserver. V3.6.4 released, sqlite persistent
19. The device driver and OPC Client Support persistence of mysql, oracle, sqlite, and sqlserver.
19.1 Overview
ServerSuperIO supports writing data colle
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.