Debugging
Debugging a Single Query
toSQL
var q = query.from( "users" )
.where( "active", "=", 1 );
writeOutput( q.toSQL() );SELECT * FROM "users" WHERE "active" = ?var q = query.from( "users" )
.where( "active", "=", 1 );
writeOutput( q.toSQL( showBindings = true ) );SELECT * FROM "users" WHERE "active" = {"value":1,"cfsqltype":"CF_SQL_NUMERIC","null":false}tap
dump
Debugging All Queries
cbDebugger

LogBox Appender
ColdBox Interception Points
Last updated
Was this helpful?