Echo Out an SQL Query
Permalink
I am attempting to edit a Custom Search Block, to filter by page custom attributes.
I have altered the pages, but am unable to pull any results back when, attempting to use anything other then filterByCollectionTypeHandle
I would like to be able to see my query, to see what I am building up, but a forum search has been un-fruitfull maybe someone can help me.
How do I see my current SQL queries?
I have altered the pages, but am unable to pull any results back when, attempting to use anything other then filterByCollectionTypeHandle
I would like to be able to see my query, to see what I am building up, but a forum search has been un-fruitfull maybe someone can help me.
How do I see my current SQL queries?
at any point before calling $pl->get() or $pl->getPage().