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.