adapter sqlite3.