Timothy Studd 0d3508d6d2 fix(engine/mysql): Support nullable fields in joins for MySQL engine (#1249) %!s(int64=3) %!d(string=hai) anos
..
gradle 463dc8aeb0 kotlin: add Query class to support timeout and cancellation (#368) %!s(int64=4) %!d(string=hai) anos
src 0d3508d6d2 fix(engine/mysql): Support nullable fields in joins for MySQL engine (#1249) %!s(int64=3) %!d(string=hai) anos
.gitignore 37b98c9824 kotlin: generate examples %!s(int64=4) %!d(string=hai) anos
README.md 463dc8aeb0 kotlin: add Query class to support timeout and cancellation (#368) %!s(int64=4) %!d(string=hai) anos
build.gradle f9fd0b61c5 Kotlin mysql (#775) %!s(int64=4) %!d(string=hai) anos
gradle.properties 37b98c9824 kotlin: generate examples %!s(int64=4) %!d(string=hai) anos
gradlew 37b98c9824 kotlin: generate examples %!s(int64=4) %!d(string=hai) anos
gradlew.bat 37b98c9824 kotlin: generate examples %!s(int64=4) %!d(string=hai) anos
settings.gradle f1f5a41ba5 upgrade to gradle 6.1.1 %!s(int64=4) %!d(string=hai) anos
sqlc.json a83184b47f Remove the deprecated mysql package (#793) %!s(int64=4) %!d(string=hai) anos

README.md

Kotlin examples

This is a Kotlin gradle project configured to compile and test all examples. Currently tests have only been written for the authors example.

To run tests:

docker run --name dinosql-postgres -d -e POSTGRES_USER=postgres -e POSTGRES_PASSWORD=mysecretpassword -e POSTGRES_DB=postgres -p 5432:5432 postgres:11
./gradlew clean test

The project can be easily imported into Intellij.

  1. Install Java if you don't already have it
  2. Download Intellij IDEA Community Edition
  3. In the "Welcome" modal, click "Import Project"
  4. Open the build.gradle file adjacent to this README file
  5. Wait for Intellij to sync the gradle modules and complete indexing