Skip to content

ahoy-jon/Anorm

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DEPRECATED

Anorm, SQL data access from Play Scala

Anorm uses plain SQL to make your database request and provides several API to parse and transform the resulting dataset. Anorm is Not a Object Relational Mapper

How to use it

Anorm standalone uses sbt 0.10

#in working copy
sbt test publish-local

Then add this to your dependencies "anorm" %% "anorm" % "0.1"

Basic usage

// Inject connection

import play.db.Config._
setConnection((Unit) => {... /* Function returning java.sql.Connection */ })


// Use
import play.db.anorm._

//... as anorm in Play

Packages

No packages published

Languages

  • Scala 94.0%
  • CSS 6.0%