8000 GitHub - kevinmehall/relate: Performant database access in Scala
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

kevinmehall/relate

 
 

Repository files navigation

Relate

http://lucidsoftware.github.io/relate/

Build Status Maven Version Join the chat at https://gitter.im/lucidsoftware/relate

Relate is a lightweight, blazingly fast database access layer for Scala that abstracts the idiosyncricies of the JDBC while keeping complete control over the SQL.

Install

libraryDependencies += "com.lucidchart" %% "relate" % "<version>"

Examples

val ids = Seq(1, 2, 3)
sql"SELECT email FROM users WHERE id in ($ids)".asMap { row =>
  row.long("id") -> row.string("email")
}
val id = 4
val email = "github@lucidchart.com"
sql"INSERT INTO users VALUES ($id, $email)".execute()

Continue to Documentation

About

Performant database access in Scala

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Scala 99.6%
  • Other 0.4%
0