I'm trying to update a customer from Magento.

I have some issues with the data that actually is modified in the database.

The code that saves the user is :


Is there a way to get the actual SQL query sent from Magento to SQL?


I think the only solution is to log all sql queries on log file to retrieve the insert/update query, check on this link : https://www.maxpronko.com/blog/database-query-logging-in-magento-2

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.