Skip to content

Commit

Permalink
Remove old filterCondition() block
Browse files Browse the repository at this point in the history
  • Loading branch information
bog-walk committed Jun 19, 2023
1 parent ca8f7cb commit 420cf1c
Showing 1 changed file with 0 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1096,24 +1096,6 @@ abstract class VendorDialect(
resetCaches()
}

/*fun filterCondition(index: Index): String? {
return when (currentDialect) {
is PostgreSQLDialect, is SQLServerDialect, is SQLiteDialect -> {
index.filterCondition?.let {
QueryBuilder(false)
.append(" WHERE ").append(it)
.toString()
} ?: ""
}
else -> {
index.filterCondition?.let {
exposedLogger.warn("Index creation with a filter condition is not supported in ${currentDialect.name}")
return null
} ?: ""
}
}
}*/

fun filterCondition(index: Index): String? {
return index.filterCondition?.let {
when (currentDialect) {
Expand Down

0 comments on commit 420cf1c

Please sign in to comment.