We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f7af06 commit 9fc459bCopy full SHA for 9fc459b
src/main/kotlin/org/domaframework/doma/intellij/formatter/builder/SqlBlockBuilder.kt
@@ -42,6 +42,8 @@ open class SqlBlockBuilder {
42
43
fun getGroupTopNodeIndexHistory(): List<SqlBlock> = groupTopNodeIndexHistory
44
45
+ fun getLastGroupFilterDirective(): SqlBlock? = getGroupTopNodeIndexHistory().lastOrNull { it !is SqlElConditionLoopCommentBlock }
46
+
47
fun addGroupTopNodeIndexHistory(block: SqlBlock) {
48
groupTopNodeIndexHistory.add(block)
49
}
0 commit comments