Hey, guys!

Hey, guys!

I was looking for firedac reflection api example and so I've found a trouble: how to control updates comming from client way? How to generate a non autoinc field value and set it to insert record update?

I'm receiving from client a TFDMemTable delta's and applying updates with a single TFDQuery in server side.

Anyone has a suggest?

Comments

  1. Problem solved!

    Get the delta's TFDMemTable and set it to CachedUpdate. Filter the inserted data and update the id field with the new field. So call ApplyUpdates() from FDJSONDeltas

    ReplyDelete

Post a Comment