IOS study notes, ios notes

Source: Internet
Author: User

IOS study notes, ios notes

1. Sqlite3 database creation sequence:

2. Sqlite3 database table creation sequence:

3. The update and delete operation sequence of the Sqlite3 database is similar to that of the table creation. You only need to change the following statement.

4. the query statement sequence of the Sqlite3 database is complex as follows:

5. When defining a query statement, the string on the right of the equal sign should be changed ?, Then, use the sqlite_bind _ data type before execution (result set pointer object, question mark index (starting from 1), data to be replaced,-1 (Data Length, -1 is automatically calculated), NULL (callback function ));

 

I have been doing small exercises for the last week. After a week's interface, I encountered some problems and solved some of them. Although the solution is a bit clever, however, I think the best way to develop is to solve the problem first and then consider optimization. This week, I learned and started to implement the logical part of the exercise.

Related Article

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.