Skip to content

Commit

Permalink
Merge pull request #9 from udaan-com/minor-change/sql-query-sniffer/h…
Browse files Browse the repository at this point in the history
…anlde-asterisk-subsitution

[minor-change][sql-query-sniffer] handle asterisk substitution
  • Loading branch information
hardik1347 authored Jan 17, 2022
2 parents 495c85f + f44c604 commit c437547
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ class SQLQuerySniffer(config: Config): Rule(config) {
newQuery = newQuery.replace("$${key}", value)
}
return newQuery
.replace("*", "ALL")
}

private fun getClassAttributeStore(params: List<String>): Map<String, Map<String, String>> {
Expand Down

0 comments on commit c437547

Please sign in to comment.