pass primary to insertGetId.