April 2019
Beginner to intermediate
698 pages
15h 15m
English
Before we can learn how to use SQLite with Android, we need to first learn the basics of how to use SQLite in general, in a platform-neutral context.
Let's look at some example SQL code that could be used on an SQLite database directly, without any Kotlin or Android classes, and then we can more easily understand what our Kotlin code is doing later on.
SQL has keywords, much like Kotlin, that cause things to happen. Here is a flavor of some of the SQL keywords we will soon be using:
INSERT: Allows us to add data to the databaseDELETE: Allows us to remove data from the databaseSELECT: Allows us to read data from the databaseWHERE: Allows us to specify the parts of the database that match specific criteria ...Read now
Unlock full access