Scala Database

Open-source Scala projects categorized as Database

Top 23 Scala Database Projects

  1. Slick

    Slick (Scala Language Integrated Connection Kit) is a modern database query and access library for Scala (by slick)

    Project mention: Show HN: Node.js ORM to query SQL database through an array-like API | news.ycombinator.com | 2024-09-05

    Scala has a library called Slick which takes a similar approach: https://scala-slick.org

    The DSL is nice for simple querying and for composing queries based upon user input. But, for anything slightly complex, I found it's better to just use regular SQL.

  2. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  3. doobie

    Functional JDBC layer for Scala.

  4. Quill

    Compile-time Language Integrated Queries for Scala

  5. Elastic4s

    🔍 Elasticsearch Scala Client - Reactive, Non Blocking, Type Safe, HTTP Client

  6. skunk

    A data access library for Scala + Postgres.

  7. ScalikeJDBC

    A tidy SQL-based DB access library for Scala developers. This library naturally wraps JDBC APIs and provides you easy-to-use APIs.

    Project mention: Scala 3 Migration: Report from the Field | news.ycombinator.com | 2025-02-06

    > Slick

    Totally agreed, Slick is definitely not a good way to access the database. It massively over complicates things and was a massive oil spill that destroyed the maintainability of many codebases. But that's not really Play, specifically, just a library that lots of people used with Play. I personally was always more a fan of https://scalikejdbc.org/, if not just plain JDBC

    > It was in state of semi-abandonment for several years

    Yes, this is my main complaint. I remember on the front page for like 5 years after TypeSafe Activator had been totally removed from the internet, the Play website was still showing Activator commands. To this day, the Play site still hasn't removed their line about how they support CoffeeScript and Less.

    > Guice (in 2.4 afaik) was a terrible mistake, completely unnecessary and at odds with the Scala philosophy

  8. Phantom

    Schema safe, type-safe, reactive Scala driver for Cassandra/Datastax Enterprise

  9. InfluxDB

    InfluxDB high-performance time series database. Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.

    InfluxDB logo
  10. scala-redis

    A scala library for connecting to a redis server, or a cluster of redis nodes using consistent hashing on the client side.

  11. ReactiveMongo

    :leaves: Non-blocking, Reactive MongoDB Driver for Scala

  12. Slick-pg

    Slick extensions for PostgreSQL

  13. rediscala

    Non-blocking, Reactive Redis driver for Scala (with Sentinel support)

  14. Squeryl

    A Scala DSL for talking with databases with minimum verbosity and maximum type safety

  15. Salat

    Salat is a simple serialization library for case classes.

  16. gremlin-scala

    [unmaintained] Scala wrapper for Apache TinkerPop 3 Graph DSL

  17. Scala ActiveRecord

    ActiveRecord-like ORM library for Scala

  18. Scanamo

    Simpler DynamoDB access for Scala

  19. Activate

    Abandoned: Pluggable persistence in Scala

  20. SwayDB

    Persistent and in-memory key-value storage engine for JVM that scales on a single machine.

  21. Anorm

    The Anorm database library

  22. Pulsar4s

    Idiomatic, typesafe, and reactive Scala client for Apache Pulsar

  23. scalasql

    Scala ORM to query SQL databases from Scala via concise, type-safe, and familiar case classes and collection operations. Connects to Postgres, MySql, H2, and Sqlite out of the box

    Project mention: Unit Tests as Documentation | news.ycombinator.com | 2024-10-17
  24. Scala-Forklift

    Type-safe data migration tool for Slick, Git and beyond.

  25. neotypes

    Scala lightweight, type-safe, asynchronous driver for neo4j

  26. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Scala Database discussion

Log in or Post with

Scala Database related posts

  • Show HN: Build you own SQL query planner/optimizer guide

    1 project | news.ycombinator.com | 27 Nov 2024
  • Show HN: Node.js ORM to query SQL database through an array-like API

    2 projects | news.ycombinator.com | 5 Sep 2024
  • Dear Sir, You Have Built a Compiler (2022)

    1 project | news.ycombinator.com | 17 Aug 2023
  • How many people/companies are fully on Scala 3?

    4 projects | /r/scala | 12 Jul 2023
  • First Slick prerelease for Scala 3!

    2 projects | /r/scala | 9 Jul 2023
  • 🏆 Top Scala open source projects and contributors

    1 project | /r/scala | 20 Jun 2023
  • Slick 3.5.0-M3 has been released

    1 project | /r/scala | 30 Apr 2023
  • A note from our sponsor - SaaSHub
    www.saashub.com | 26 Apr 2025
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

What are some of the best open-source Database projects in Scala? This list will help you:

# Project Stars
1 Slick 2,654
2 doobie 2,189
3 Quill 2,154
4 Elastic4s 1,637
5 skunk 1,609
6 ScalikeJDBC 1,269
7 Phantom 1,046
8 scala-redis 1,021
9 ReactiveMongo 850
10 Slick-pg 841
11 rediscala 788
12 Squeryl 584
13 Salat 485
14 gremlin-scala 481
15 Scala ActiveRecord 322
16 Scanamo 319
17 Activate 299
18 SwayDB 293
19 Anorm 243
20 Pulsar4s 230
21 scalasql 217
22 Scala-Forklift 187
23 neotypes 168

Sponsored
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai

Did you know that Scala is
the 37th most popular programming language
based on number of references?