[DBTablesHost] Add a new method: upsertHosts().