The featue is not there, it would indeed reasonable, or at least
pragmatic to have a way to write for handwritten queries, without
having to go all the way down to JDBC,
The question is what form it would take,
I can imagine something like this :
rawSql[Long,Int,String,Option[String], Option[Int]]("select aLong, anInt, aString, aNullableString, aNullableInt from ..."):
Tuple5[Long,Int,String,Option[String], Option[Int]]
and / or something like this :
from(table1,table2, ...tableN)((t1,t2,...,tN) =>
rawSql(""select t1.*, t2.*, ..., tN.*")
select(t1,t2,...,tN)
)
When I run into something not feasable by Squeryl I usually extend the DSL or API, but I can see the use for it,
it just needs to be implemented ;-)
ML