Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyshav committed Sep 20, 2024
1 parent 5cfb807 commit 6b0e074
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/scala/com/ringcentral/cassandra4io/cql/package.scala
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,9 @@ package object cql {
QueryTemplate[V, Row](
ctx.parts
.foldLeft[(HList, StringBuilder)]((params, new StringBuilder())) {
case ((Const(const) :: tail, builder), part) => (tail, builder.addAll(part).addAll(const))
case ((_ :: tail, builder), part) => (tail, builder.addAll(part).addAll("?"))
case ((HNil, builder), part) => (HNil, builder.addAll(part))
case ((Const(const) :: tail, builder), part) => (tail, builder.appendAll(part).appendAll(const))
case ((_ :: tail, builder), part) => (tail, builder.appendAll(part).appendAll("?"))
case ((HNil, builder), part) => (HNil, builder.appendAll(part))
}
._2
.toString(),
Expand Down

0 comments on commit 6b0e074

Please sign in to comment.