sqlz icon indicating copy to clipboard operation
sqlz copied to clipboard

Create a scala-collections DSL

Open Jacoby6000 opened this issue 8 years ago • 3 comments

Jacoby6000 avatar Mar 06 '16 23:03 Jacoby6000

I'm thinking this should look similar to Slick's DSL, if not exactly like slick's DSL.

Jacoby6000 avatar May 31 '16 14:05 Jacoby6000

The information found in @tpolecat's presentation "Pure Functional Database Programming … with Fixpoint Types" may help with this. I can imagine decorating the query AST with information about arity of the select and types of the columns if possible.

The decorated structures might be better suited as more concrete classes though. It would probably be helpful to put all of this in a sort of core-decorated which has nothing but the faculties for decorating the AST.

Jacoby6000 avatar Mar 31 '17 19:03 Jacoby6000

First steps towards doing this involve making a Schema abstraction so that the code has a model of the database.

Jacoby6000 avatar Nov 13 '17 13:11 Jacoby6000