List[Map[String,A]] to database table in scalaquery

187 Views Asked by At

I just learnt about scalaquery yesterday and it seems useful. I'd like to convert a List[Map[String,A]] (where A is a primitive type - Int, Float, String etc. and the set of keys in each of the maps are the same) to a database table. I couldn't find examples of dynamic table creation in scalaquery (where the number of columns, i.e., the number of keys is dynamic).

Basically, I am interested in doing some relational algebra on this (and related) collections. Figured scalaquery would be the way to go. If not, please suggest alternatives.

0

There are 0 best solutions below