simplification of method history in sqliteDB.js