Another comment to add here. SQLite is used as an underlying engine, but for the most part a developer should not be concerned with this. CBL does not use SQLite the same way you would if you were using it directly. If you want to get an idea of the inner workings, it can be interesting to look at the actual db files. You'll see much of what's there has to do with meta-data.