sqlCommenter
moduleSettings = {
"qb": {
"sqlCommenter": {
"enabled": true
}
}
};SELECT * FROM foo /*action='index',dbDriver='mysql-connector-java-8.0.25%20%28Revision%3A%2008be9e9b4cba6aa115f9b27b215887af40b159e0%29',event='Main.index',framework='coldbox-6.0.0',handler='Main',route='%2F'*/Configuring sqlCommenter
settings = {
"sqlCommenter": {
"enabled": false,
"commenters": [
{ "class": "FrameworkCommenter@qb", "properties": {} },
{ "class": "RouteInfoCommenter@qb", "properties": {} },
{ "class": "DBInfoCommenter@qb", "properties": {} }
]
}
};Commenters
Parsing Commented SQL
parseCommentedSQL
parseCommentString
Integration with non-ColdBox applications
Was this helpful?