Magento 2 Eloquent Laravel SQL log
Magento 2 Eloquent Laravel showsql is a package to output Model SQL queries:
When you call the
showSql() method, it sends the generated SQL query to the browser console.
This package is helpful when you want to target specific query logs without logging all SQL queries on a given request. You can learn more about this package on GitHub source.
This package works with Laragento Magento library: