# ScalaSql: query SQL databases via concise, type-safe, and familiar case classes and collection operations

**URL:** <https://users.scala-lang.org/t/scalasql-query-sql-databases-via-concise-type-safe-and-familiar-case-classes-and-collection-operations/9691>\
**Category:** Libraries\
**Created:** [January 1, 2024, 1:40am UTC](https://users.scala-lang.org/t/scalasql-query-sql-databases-via-concise-type-safe-and-familiar-case-classes-and-collection-operations/9691 "2024-01-01T01:40:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lihaoyi](https://users.scala-lang.org/user_avatar/users.scala-lang.org/lihaoyi/32/290_2.png) [@lihaoyi](https://users.scala-lang.org/u/lihaoyi)\
**Post date:** [January 1, 2024, 1:40am UTC](https://users.scala-lang.org/t/scalasql-query-sql-databases-via-concise-type-safe-and-familiar-case-classes-and-collection-operations/9691/1 "2024-01-01T01:40:12Z")

</div>

Hi!

I just cut the first release of my new Scala database query library

- [GitHub - com-lihaoyi/scalasql: Query SQL databases from Scala via concise, type-safe, and familiar case classes and collection operations](https://github.com/com-lihaoyi/scalasql)

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:

- [cask/example/todoDb/app/src/TodoMvcDb.scala at master · com-lihaoyi/cask · GitHub](https://github.com/com-lihaoyi/cask/blob/master/example/todoDb/app/src/TodoMvcDb.scala)
