Skip to content
New issue

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

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

Already on GitHub? # to your account

Fix indentation for browser display #21

Merged
merged 1 commit into from
Dec 26, 2016
Merged
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
16 changes: 8 additions & 8 deletions src/main/scala/doobie/UpdatesSection.scala
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,16 @@ import scalaz._, Scalaz._
* {{{
* val drop: Update0 =
* sql"""
* DROP TABLE IF EXISTS person
* DROP TABLE IF EXISTS person
* """.update
*
* val create: Update0 =
* sql"""
* CREATE TABLE person (
* id SERIAL,
* name VARCHAR NOT NULL UNIQUE,
* age SMALLINT
* )
* CREATE TABLE person (
* id SERIAL,
* name VARCHAR NOT NULL UNIQUE,
* age SMALLINT
* )
* """.update
* }}}
*
Expand All @@ -47,8 +47,8 @@ import scalaz._, Scalaz._
* constructs an `Update0` that inserts a row into the `person` table.
*
* {{{
* def insert1(name: String, age: Option[Short]): Update0 =
* sql"insert into person (name, age) values ($name, $age)".update
* def insert1(name: String, age: Option[Short]): Update0 =
* sql"insert into person (name, age) values ($name, $age)".update
* }}}
*
* @param name inserting_and_updating
Expand Down