relate


License

License

GroupId

GroupId

com.lucidchart
ArtifactId

ArtifactId

relate_2.11
Last Version

Last Version

3.0.0
Release Date

Release Date

Type

Type

jar
Description

Description

relate
relate
Project URL

Project URL

https://github.com/lucidsoftware/relate
Project Organization

Project Organization

com.lucidchart
Source Code Management

Source Code Management

https://github.com/lucidsoftware/relate

Download relate_2.11

How to add to project

<!-- https://jarcasting.com/artifacts/com.lucidchart/relate_2.11/ -->
<dependency>
    <groupId>com.lucidchart</groupId>
    <artifactId>relate_2.11</artifactId>
    <version>3.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.lucidchart/relate_2.11/
implementation 'com.lucidchart:relate_2.11:3.0.0'
// https://jarcasting.com/artifacts/com.lucidchart/relate_2.11/
implementation ("com.lucidchart:relate_2.11:3.0.0")
'com.lucidchart:relate_2.11:jar:3.0.0'
<dependency org="com.lucidchart" name="relate_2.11" rev="3.0.0">
  <artifact name="relate_2.11" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.lucidchart', module='relate_2.11', version='3.0.0')
)
libraryDependencies += "com.lucidchart" % "relate_2.11" % "3.0.0"
[com.lucidchart/relate_2.11 "3.0.0"]

Dependencies

compile (2)

Group / Artifact Type Version
org.scala-lang : scala-library jar 2.11.12
org.scala-lang.modules : scala-collection-compat_2.11 jar 2.1.6

test (3)

Group / Artifact Type Version
org.specs2 : specs2-core_2.11 jar 4.6.0
org.specs2 : specs2-mock_2.11 jar 4.6.0
com.h2database : h2 jar 1.4.191

Project Modules

There are no modules declared in this project.

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

com.lucidchart

Lucid Software, Inc

Versions

Version
3.0.0
2.4.0
2.3.0
2.2.0-testing
2.2.0
2.1.1
2.1.0
2.0.2
2.0.1
2.0.0
1.13.0
1.12.0
1.11.0
1.10.0
1.9.0
1.8.0
1.7.1
1.7.0
1.6.1
1.6.0