MySQL (Mariadb) INSERT returns msg.payload = "[object Object]"

I think the reason is that the underlying MySQL library returns a "Result Object" type rather than a plain object so the debug node doesn't know how to handle it exactly. eg see Node.js MySQL Result Object - Examples.
So the data is all there - just the debug doesn't show it directly.

1 Like