Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Getting-Started.md #32

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Getting-Started.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,14 +118,14 @@ Observe the below examples and head on to the specific section of each API for m


fun main(args: Array<String>) {
//an example connection to H2 DB
// an example connection to H2 DB
Database.connect("jdbc:h2:mem:test", driver = "org.h2.Driver")

transaction {
// print sql to std-out
addLogger(StdOutSqlLogger)

SchemaUtils.create (Cities)
SchemaUtils.create(Cities)

// insert new city. SQL: INSERT INTO Cities (name) VALUES ('St. Petersburg')
val stPeteId = Cities.insert {
Expand Down