The readme and docs have a lot more detailed information that I could write here, so please take a look and try it out! It’s a new library, so there may be some rough edges, but I hope people will find it competitive at providing an easier alternative to the other database query libraries in the Scala ecosystem today
You can see an example of it integrated with the Cask web framework here:
@Katrix yes, it does seem to use the same higher-kinded case classes to model table rows. If you are interested we could definitely collaborate, I currently lack Scala 3 macro expertise but given your work with DataPrism it shouldn’t be too hard to get ScalaSql onto Scala, and then ScalaSql on 2.13/3.x could satisfy the use case that both ScalaSql and DataPrism handle today
I’d definitively be interested in helping out a bit, but I don’t know how much is transferable.
While the two libraries both use higher kinded data, the extent of their usage is quite different. DataPrism is HKD first, and then “translates” its operations down to work with tuples and other types eventually too. ScalaSql meanwhile seems to mostly just use HKD for the case classes.