When working in the Views module, you may want to preview the SQL that is generated by the view. This is for the code savvy or the ones looking to be and would like to see the SQL generated for either debugging or further development of their views. Sometimes seeing the code can help understand how the view works in case it needs further tweaking. Showing the SQL query for a View's preview is done with the following instructions.
Go to admin/structure/views/settings
Go to "Live preview settings" section
Please check the "Show the SQL query"
Now you able to view the SQL query in bottom of the page.
Go to admin/structure/views/settings
Go to "Live preview settings" section
Please check the "Show the SQL query"
Now you able to view the SQL query in bottom of the page.
No comments:
Post a Comment