relate


License

License

GroupId

GroupId

com.lucidchart
ArtifactId

ArtifactId

relate_2.13
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.13

How to add to project

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

Dependencies

compile (2)

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

test (3)

Group / Artifact Type Version
org.specs2 : specs2-core_2.13 jar 4.6.0
org.specs2 : specs2-mock_2.13 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