morphismtech / squeal

Squeal, a deep embedding of SQL in Haskell
362 stars 32 forks source link

Expand user types to include tables and views #310

Closed echatav closed 2 years ago

echatav commented 2 years ago

This PR broadens user defined row types to include table and view row types. Previously Squeal only truly supported composite row types. Collectively, these are known as relations. Other kinds of relations besides composites, tables and views are not yet supported. There are still some iffy corner cases but I think it's an improvement.