Update of kbmMWClientQuery

Home Forums kbmMW Update of kbmMWClientQuery

Viewing 2 reply threads
  • Author
    Posts
    • #55821
      TomYU
      Participant

      hi,

      For ClientQuery, when parsing on the server side, if a field is not modified, I don’t want it to be generated in the Set clause of Update.

      What should I do?

      best regards

      Tom YU.

       

    • #55825
      TomYU
      Participant

      A ClientQuery has F1,F2,F3 fields, F1 is primary key,when i modify F2, I want to generate SQL like this: update testtable set (f1,f2) values (‘aaa’,’bbb’) where f1=xxx.

       

    • #56066
      kimbomadsen
      Keymaster

      Hi,

      Currently the resolver resolves all fields equally. Hence it is possible not to resolve a specific field, but then it is not resolved for any of the records about to be resolved back to the database.

      Technically kbmMW could support creating a new unique statement for each record to resolve back, but it would limit performance.

      It would require creating a new database resolver that would compare old and new values for each field, to determine which SQL statement to product.

      But it is not trivial.
      Kim/C4D

Viewing 2 reply threads
  • You must be logged in to reply to this topic.