Summary
With the information in this chapter, you should be able to write code that opens a database file and executes SQL commands against it. With that ability, and the right SQL commands, you should be able to create new databases, specify tables, insert data, and build complex queries. For a large number of applications, this is enough to service most of their database needs.
The next chapters look at more advanced features of the
SQLite C API. This includes the ability to define your own SQL functions.
That will enable you to extend the SQL used by SQLite with simple functions,
as well as aggregators (used with GROUP
BY) and sorting collations. Additional chapters will look at
how to implement virtual tables and other advanced features.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access