Sciweavers

Share
SLE
2009
Springer

ScalaQL: Language-Integrated Database Queries for Scala

9 years 5 months ago
ScalaQL: Language-Integrated Database Queries for Scala
One of the most ubiquitous elements of modern computing is the relational database. Very few modern applications are created without some sort of database backend. Unfortunately, relational database concepts are fundamentally very different from those used in generalpurpose programming languages. This creates an impedance mismatch between the the application and the database layers. One solution to this problem which has been gaining traction in the .NET family of languages is Language-Integrated Queries (LINQ). That is, the embedding of database queries within application code in a way that is statically checked and type safe. Unfortunately, certain language changes or core design elements were necessary to make this embedding possible. We present a framework which implements this concept of type safe embedded queries in Scala without any modifications to the language itself. The entire framework is implemented by leveraging existing language features (particularly for-comprehension...
Daniel Spiewak, Tian Zhao
Added 27 May 2010
Updated 27 May 2010
Type Conference
Year 2009
Where SLE
Authors Daniel Spiewak, Tian Zhao
Comments (0)
books