1

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.

Ashwin
  • 445
  • 5
  • 9
  • String is not a primitive type. – user unknown May 24 '12 at 13:47
  • Relational algebra operates on relations, not on collections. That's why it's called relational algebra in the first place ... – Erwin Smout May 30 '12 at 06:41
  • "User unknown" - I believe the technical term for what I am referring to is value class. – Ashwin Jun 03 '12 at 15:58
  • Erwin Smout - The collection I am dealing with here - List[Map[String,A]] - represents a relation. I'd like to transform it into an equivalent representation of a relation which permits operations for relational algebra. – Ashwin Jun 03 '12 at 16:02
  • I have a similar issue. Have you found a solution for that? – Ahmadov May 03 '16 at 14:27

0 Answers0