SQLite Forum

API call instead of PRAGMA schema_version?
Login
Actually, there is `SQLITE_FCNTL_FILE_POINTER`, so you need not open the file yourself; that deals with item 4 in that list (since you need not deal with the file descriptor yourself). Still, it is complicated and less efficient to have to deal with all of these things, rather than just using `PRAGMA schema_version`.