All Questions
1
question
4
votes
1
answer
2k
views
SQL `NULL` read at column 1 (JDBC type null) but mapping is to a non-Option type
I want select the max value using this query (all fields in table are not null):
dc.run(quote {
query[SchemaInfo]
.filter(_.subjectName == lift(subject))
.map(_.version)
.max
}...