SQLDelight Common Runtime

Common runtime library to support generated code

License

License

Categories

Categories

Square Business Logic Libraries Financial
GroupId

GroupId

com.squareup.sqldelight
ArtifactId

ArtifactId

runtime-common
Last Version

Last Version

1.0.0-alpha5
Release Date

Release Date

Type

Type

jar
Description

Description

SQLDelight Common Runtime
Common runtime library to support generated code
Project URL

Project URL

https://github.com/square/sqldelight/
Source Code Management

Source Code Management

https://github.com/square/sqldelight/

Download runtime-common

How to add to project

<!-- https://jarcasting.com/artifacts/com.squareup.sqldelight/runtime-common/ -->
<dependency>
    <groupId>com.squareup.sqldelight</groupId>
    <artifactId>runtime-common</artifactId>
    <version>1.0.0-alpha5</version>
</dependency>
// https://jarcasting.com/artifacts/com.squareup.sqldelight/runtime-common/
implementation 'com.squareup.sqldelight:runtime-common:1.0.0-alpha5'
// https://jarcasting.com/artifacts/com.squareup.sqldelight/runtime-common/
implementation ("com.squareup.sqldelight:runtime-common:1.0.0-alpha5")
'com.squareup.sqldelight:runtime-common:jar:1.0.0-alpha5'
<dependency org="com.squareup.sqldelight" name="runtime-common" rev="1.0.0-alpha5">
  <artifact name="runtime-common" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.squareup.sqldelight', module='runtime-common', version='1.0.0-alpha5')
)
libraryDependencies += "com.squareup.sqldelight" % "runtime-common" % "1.0.0-alpha5"
[com.squareup.sqldelight/runtime-common "1.0.0-alpha5"]

Dependencies

runtime (1)

Group / Artifact Type Version
org.jetbrains.kotlin : kotlin-stdlib-common jar 1.2.50

test (2)

Group / Artifact Type Version
org.jetbrains.kotlin : kotlin-test-common jar 1.2.50
org.jetbrains.kotlin : kotlin-test-annotations-common jar 1.2.50

Project Modules

There are no modules declared in this project.

SQLDelight

See the project website for documentation and APIs

SQLDelight generates typesafe kotlin APIs from your SQL statements. It verifies your schema, statements, and migrations at compile-time and provides IDE features like autocomplete and refactoring which make writing and maintaining SQL simple.

SQLDelight understands your existing SQL schema.

CREATE TABLE hockey_player (
  id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
  name TEXT NOT NULL,
  number INTEGER NOT NULL
);

It generates typesafe code for any labeled SQL statements.

intro.gif


SQLDelight supports a variety of dialects and platforms:

SQLite

MySQL (JVM)

PostgreSQL (JVM) (Experimental)

HSQL/H2 (JVM) (Experimental)

Snapshots

Snapshots of the development version (including the IDE plugin zip) are available in Sonatype's snapshots repository.

License

Copyright 2016 Square, Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
com.squareup.sqldelight

Square

Versions

Version
1.0.0-alpha5
1.0.0-alpha4
1.0.0-alpha3
1.0.0-alpha2