[server][DBAgent] Add a new version of insert().