scalaquery
scalaquery problem no implicit session
this is a scalaquery query which i want to perform, ... def generateFares(scheduleId:NamedColumn[Int], toCityId:NamedColumn[Int], fromCityId:NamedColumn[Int]):List[(String,Int,String)] = {[详细]
2023-04-06 07:46 分类:问答ScalaQuery's query/queryNA several times slower than JDBC?
In the following performance tests of many queries, this timed J开发者_如何学GoDBC code takes 500-600ms:[详细]
2023-03-21 10:23 分类:问答How do I specify a Postgresql schema in ScalaQuery?
I 开发者_如何学运维tried, for instance: object WebCache extends Table[(...)](\"myschema.mytable\") {[详细]
2023-03-21 06:20 分类:问答Raw result rows with named fields in ScalaQuery?
In ScalaQuery, I can do this to work with the \"raw\" result rows: for ( x <- queryNA[(String,Int)](\"select * from foo\")([详细]
2023-03-20 08:59 分类:问答Working with wide SQL tables using ScalaQuery (or something else type-safe)
Many databases have tables with many columns, but ScalaQuery uses tuples to represent table schemas, and Scala doesn\'t support s开发者_如何学运维uch wide tuples. Is there any way to work with such ta[详细]
2023-03-20 08:18 分类:问答Scalaquery: filter by “any”-combination of conditions
I want join an arbitrary-length list of filters with or. If the list would be fixed-length, it would look like this:[详细]
2023-03-16 18:10 分类:问答Supertype for scalaquery query
What is the supertype for all Scalaquery queries? As far as i have understood, Query[Projection[Product]] should be it, e.g.:[详细]
2023-03-08 03:13 分类:问答Iterate over arbitrary-length tuple
I just started with Scala and ran into a problem: Scala has the Types Tuple1, Tuple2, …, Tuple22. Scalaquery returns tuples when iterating over queries.[详细]
2023-03-07 23:25 分类:问答Using dynamic Datasource with Tomcat
I\'m creating a series of webservices for my application and i have the need to access a different database based on the serviceCode that is passed as a parameter in the webservice call.[详细]
2023-03-07 10:33 分类:问答The elements type of for comprehension in ScalaQuery
I\'m found something interesting when I following the Queries tutorial of ScalaQuery that I don\'t know why quite well.[详细]
2023-02-19 23:22 分类:问答