Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/remove-materialized-view' into r…
Browse files Browse the repository at this point in the history
…emove-materialized-view
  • Loading branch information
jdfigure committed Dec 31, 2024
2 parents 93c0652 + 16cb5cf commit 8e7deba
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -150,10 +150,11 @@ class ValidatorStateRecord(id: EntityID<Int>) : IntEntity(id) {
.toList()
}

fun refreshCurrentStateView() = transaction {
val query = "REFRESH MATERIALIZED VIEW current_validator_state"
this.exec(query)
}
fun refreshCurrentStateView() {}
// transaction {
// val query = "REFRESH MATERIALIZED VIEW current_validator_state"
// this.exec(query)
// }

fun findAll(activeSet: Int) = transaction {
val query = "SELECT * FROM get_all_validator_state(?, ?, NULL)".trimIndent()
Expand Down

0 comments on commit 8e7deba

Please sign in to comment.