Skip to content

Commit

Permalink
deps: update exposed to v0.50.0
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored and sschuberth committed Apr 30, 2024
1 parent 17d14cd commit 88a8482
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ cvssCalculator = "1.4.2"
cyclonedx = "8.0.3"
diffUtils = "4.12"
diskLruCache = "2.0.2"
exposed = "0.49.0"
exposed = "0.50.0"
flexmark = "0.64.8"
freemarker = "2.3.32"
greenmail = "2.0.1"
Expand Down
2 changes: 1 addition & 1 deletion model/src/main/kotlin/utils/ExposedUtils.kt
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ fun <T : Any> Transaction.execShow(statement: String, transform: (ResultSet) ->
require(statement.startsWith("SHOW")) { "Query must start with 'SHOW'." }

return exec(object : Statement<T>(StatementType.SELECT, emptyList()) {
override fun arguments(): Iterable<Iterable<Pair<IColumnType, Any?>>> = emptyList()
override fun arguments(): Iterable<Iterable<Pair<IColumnType<*>, Any?>>> = emptyList()

override fun prepareSQL(transaction: Transaction, prepared: Boolean): String = statement

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ class PostgresNestedProvenanceStorage(
table.vcsType eq root.vcsInfo.type.toString() and
(table.vcsUrl eq root.vcsInfo.url) and
(table.vcsRevision eq root.resolvedRevision)
}.filter { it[table.result].nestedProvenance.root == root }.map { it[table.id].value }
}.filter { it[table.result].nestedProvenance.root == root }.map { it[table.id] }

table.deleteWhere { table.id inList idsToRemove }

Expand Down

0 comments on commit 88a8482

Please sign in to comment.