[DBAgentSQLite3] Implemnt upsert.