ahoy-jon / Anorm

DEPRECATED : Anorm Standalone

Home Page:http://www.playframework.org/modules/scala

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

DEPRECATED : Anorm Standalone

http://www.playframework.org/modules/scala


Languages

Language:Scala 94.0%Language:CSS 6.0%