From 3dc8ea2403bac9e9a849da1c903c1e295db1c3df Mon Sep 17 00:00:00 2001 From: Pietro Di Bello Date: Thu, 31 May 2018 22:38:14 +0200 Subject: [PATCH] add a missing `create (Cities)` statement in the two given examples to have the CITIES table created before inserting rows --- Getting-Started.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Getting-Started.md b/Getting-Started.md index b45cddc..67a6b75 100644 --- a/Getting-Started.md +++ b/Getting-Started.md @@ -89,6 +89,8 @@ fun main(args: Array) { // print sql to std-out logger.addLogger(StdOutSqlLogger) + create (Cities) + // insert new city. SQL: INSERT INTO Cities (name) VALUES ('St. Petersburg') val stPeteId = Cities.insert { it[name] = "St. Petersburg" @@ -118,6 +120,8 @@ fun main(args: Array) { // print sql to std-out logger.addLogger(StdOutSqlLogger) + create (Cities) + // insert new city. SQL: INSERT INTO Cities (name) VALUES ('St. Petersburg') val stPete = City.new { name = "St. Petersburg"