Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
kemal durmuş committed Oct 25, 2023
1 parent 6b49fe4 commit 6ee4811
Showing 1 changed file with 2 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package io.getquill.context.cassandra

import com.datastax.oss.driver.api.core.cql.AsyncResultSet
import io.getquill.{EntityQuery, Quoted, Update}
import io.getquill.base.Spec
import io.getquill.context.ExecutionInfo

Expand All @@ -14,17 +15,10 @@ class CassandraContextSpec extends Spec {
"async" in {
import testAsyncDB._
case class TestEntity(id: Int, s: String, i: Int, l: Long, o: Int)
val update = quote {
val update: Quoted[Update[TestEntity]] = quote {
query[TestEntity].filter(_.id == lift(1)).update(_.i -> lift(1))
}
val result: AsyncResultSet = await(testAsyncDB.run(update))
result.map { row =>
println("kemallllgetColumnDefinitions: " + row.getColumnDefinitions)
println("kemallllgetColumnDefinitions: " + row.getColumnDefinitions)
println("kemallllsize(): " + row.size())
println("kemallll: " + row)
row
}
assert(result!=null)

}
Expand Down

0 comments on commit 6ee4811

Please sign in to comment.