You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi -- I'm having an issue with sumo:persist/2 (using the MySQL store) where initial calls to a store work just fine but subsequent calls with a different number of map elements fail with an "Incorrect arguments to EXECUTE" error. Here's a minimal example of what I mean and the query log that accompanies it:
The problem is that sumo expects you to always provide all the fields to persist the ones that are null (including the id) should have theundefined value.
Ah! Well that's fair enough; I was being sort of lazy with my approach. It appears that the functions exported from sumo_internal are sufficient to suss out what fields need to be present. Thanks for your quick response.
Hi -- I'm having an issue with sumo:persist/2 (using the MySQL store) where initial calls to a store work just fine but subsequent calls with a different number of map elements fail with an "Incorrect arguments to EXECUTE" error. Here's a minimal example of what I mean and the query log that accompanies it:
I don't think I'm doing anything that should be invalid here but please let me know if the error's on my end. Thanks!
The text was updated successfully, but these errors were encountered: