db.libversion()

Returns the sqlite3 version as a string.