You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
val q = sql("select * from users") // two columns: "name" and "comment"
println("1 Query: "+q.sql)
println("Returns: ")
q() map (_ get "name") // won't compile
Error message:
value get is not a member of shapeless.::[String with shapeless.labelled.KeyTag[String("name"),String],shapeless.::[String with shapeless.labelled.KeyTag[String("comment"),String],shapeless.HNil]]
The text was updated successfully, but these errors were encountered:
I can't seem to get this to compile.
Code:
Error message:
value get is not a member of shapeless.::[String with shapeless.labelled.KeyTag[String("name"),String],shapeless.::[String with shapeless.labelled.KeyTag[String("comment"),String],shapeless.HNil]]
The text was updated successfully, but these errors were encountered: