xPDOCriteria.toSQL
Last updated not available | Page history | Improve this page | Report an issue
Support the team building MODX with a monthly donation.
The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.
Backers
Budget
$194 per month—let's make that $500!
Learn morexPDOCriteria::toSQL¶
Returns the SQL string for the criteria. When $parseBindings is true (the default), the bound values are substituted into the SQL; when false, the placeholders are left in place.
Syntax¶
string toSQL ([boolean $parseBindings = true])
Example¶
echo $criteria->toSQL();
See Also¶
Support the team building MODX with a monthly donation.
The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.
Backers
Budget
$194 per month—let's make that $500!
Learn more










