A way to specify "invokingResource" in exports
HeyyCzer opened this issue · 0 comments
HeyyCzer commented
Is your feature request related to a problem? Please describe.
In frameworks like vrp, that queries are made by the core, using vRP.prepare and vRP.query is hard to known which resources have a high query time.
Describe the solution you'd like
Pass the invokingResource name that you want to show in oxmysql UI or console warnings as an option.
Example:
exports.oxmysql:query_async(sqlQuery, params, { invokingResource = "example_resource" })
Describe alternatives you've considered
None.
Additional context
None.