Popularity
5.0
Declining
Activity
1.5
Declining
163
44
14

Programming language: Scala
License: Apache License 2.0
Tags: Database    
Latest version: v3.0.0

Relate alternatives and similar packages

Based on the "Database" category.
Alternatively, view Relate alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of Relate or a related project?

Add another 'Database' Package

README

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 = "[email protected]"
sql"INSERT INTO users VALUES ($id, $email)".execute()

Continue to Documentation