Anorm

Twitter Follow Discord GitHub Discussions StackOverflow YouTube Twitch Status OpenCollective

Build Status Maven Repository size Scala Steward badge Mergify Status

Anorm is a simple data access layer that uses plain SQL to interact with the database and provides an API to parse and transform the resulting datasets.

Usage

In a projects built with SBT, dependency to Anorm can be added as following:

libraryDependencies ++= Seq(
  "org.playframework.anorm" %% "anorm" % ReplaceByAnormVersion)

Build manually

Anorm can be built from this source repository.

sbt publish-local

To run the tests, use:

sbt test

Documentation

To run the documentation server, run:

sbt docs/run

To test the documentation code samples, run:

sbt docs/test

Releasing a new version

See https://github.com/playframework/.github/blob/main/RELEASING.md