{"action":"created","issue":{"url":"https://api.github.com/repos/korma/Korma/issues/364","repository_url":"https://api.github.com/repos/korma/Korma","labels_url":"https://api.github.com/repos/korma/Korma/issues/364/labels{/name}","comments_url":"https://api.github.com/repos/korma/Korma/issues/364/comments","events_url":"https://api.github.com/repos/korma/Korma/issues/364/events","html_url":"https://github.com/korma/Korma/issues/364","id":174253869,"number":364,"title":"the exec order of korma update set-fields","user":{"login":"EasonYan","id":5902013,"avatar_url":"https://avatars.githubusercontent.com/u/5902013?v=3","gravatar_id":"","url":"https://api.github.com/users/EasonYan","html_url":"https://github.com/EasonYan","followers_url":"https://api.github.com/users/EasonYan/followers","following_url":"https://api.github.com/users/EasonYan/following{/other_user}","gists_url":"https://api.github.com/users/EasonYan/gists{/gist_id}","starred_url":"https://api.github.com/users/EasonYan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EasonYan/subscriptions","organizations_url":"https://api.github.com/users/EasonYan/orgs","repos_url":"https://api.github.com/users/EasonYan/repos","events_url":"https://api.github.com/users/EasonYan/events{/privacy}","received_events_url":"https://api.github.com/users/EasonYan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-31T11:54:52Z","updated_at":"2016-09-02T07:27:38Z","closed_at":null,"body":"(def my-map\r\n      {:a 1\r\n       :b 2}\r\n(->(update* table)\r\n     (set-field my-map)\r\n     (exec)\r\n)\r\nit seems that korma will always exec in an order like this \"set a=1 and b=2\",because letter a is always ahead of letter b。\r\nmy question is that are there any methods that can make korma exec like this \"set b=2 and a=1\"。because the set sequence make different in mysql.Thanks a lot!  "},"comment":{"url":"https://api.github.com/repos/korma/Korma/issues/comments/244303113","html_url":"https://github.com/korma/Korma/issues/364#issuecomment-244303113","issue_url":"https://api.github.com/repos/korma/Korma/issues/364","id":244303113,"user":{"login":"immoh","id":1422310,"avatar_url":"https://avatars.githubusercontent.com/u/1422310?v=3","gravatar_id":"","url":"https://api.github.com/users/immoh","html_url":"https://github.com/immoh","followers_url":"https://api.github.com/users/immoh/followers","following_url":"https://api.github.com/users/immoh/following{/other_user}","gists_url":"https://api.github.com/users/immoh/gists{/gist_id}","starred_url":"https://api.github.com/users/immoh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/immoh/subscriptions","organizations_url":"https://api.github.com/users/immoh/orgs","repos_url":"https://api.github.com/users/immoh/repos","events_url":"https://api.github.com/users/immoh/events{/privacy}","received_events_url":"https://api.github.com/users/immoh/received_events","type":"User","site_admin":false},"created_at":"2016-09-02T07:27:38Z","updated_at":"2016-09-02T07:27:38Z","body":"I'm afraid it is not possible to control the order of columns to update. The reason why columns are ordered is to generate consistent SQL across different Clojure versions.\r\n\r\nCan you elaborate on reasons why the order makes difference in MySQL?"}}
{"actor":{"display_login":"immoh"}}