From 41779c2e02af2624fe3ffcc9aba9f4dc6c4782e1 Mon Sep 17 00:00:00 2001 From: mpilquist Date: Fri, 10 May 2024 14:57:33 +0000 Subject: [PATCH] deploy: b4caa174d4a23627a31c93551fbf50001ef3cca8 --- reference/Encoders.html | 20 ++++++++++---------- reference/Fragments.html | 34 +++++++++++++++++----------------- tutorial/Query.html | 4 ++-- tutorial/Setup.html | 2 +- 4 files changed, 30 insertions(+), 30 deletions(-) diff --git a/reference/Encoders.html b/reference/Encoders.html index 2fe41690..cb0495da 100644 --- a/reference/Encoders.html +++ b/reference/Encoders.html @@ -157,7 +157,7 @@

// res0: Fragment[String] = Fragment( // parts = List( // Left(value = "SELECT name FROM country WHERE code = "), -// Right(value = cats.data.IndexedStateT@51d533c3), +// Right(value = cats.data.IndexedStateT@1022e933), // Left(value = "") // ), // encoder = Codec(varchar), @@ -170,9 +170,9 @@

// res1: Fragment[String *: Long *: EmptyTuple] = Fragment( // parts = List( // Left(value = "SELECT name FROM country WHERE code = "), -// Right(value = cats.data.IndexedStateT@51d533c3), +// Right(value = cats.data.IndexedStateT@1022e933), // Left(value = " AND population < "), -// Right(value = cats.data.IndexedStateT@14fadb68), +// Right(value = cats.data.IndexedStateT@42ea8e81), // Left(value = "") // ), // encoder = Codec(varchar, int8), @@ -191,7 +191,7 @@

// res2: Fragment[String ~ Int] = Fragment( // parts = List( // Left(value = "INSERT INTO person (name, age) VALUES ("), -// Right(value = cats.data.IndexedStateT@46d3f303), +// Right(value = cats.data.IndexedStateT@1a1fc47b), // Left(value = ")") // ), // encoder = Codec(varchar, int4), @@ -209,9 +209,9 @@

// res4: Fragment[String ~ Int] = Fragment( // parts = List( // Left(value = "INSERT INTO person (name, age) VALUES "), -// Right(value = cats.data.IndexedStateT@c13e94), +// Right(value = cats.data.IndexedStateT@63a6b295), // Left(value = "") // ), // encoder = Encoder(varchar, int4), @@ -242,7 +242,7 @@

// res5: Fragment[List[String ~ Int]] = Fragment( // parts = List( // Left(value = "INSERT INTO person (name, age) VALUES "), -// Right(value = cats.data.IndexedStateT@59539e64), +// Right(value = cats.data.IndexedStateT@7fe8e86), // Left(value = "") // ), // encoder = Encoder(varchar, int4, varchar, int4, varchar, int4), @@ -261,7 +261,7 @@

// res6: Fragment[Person] = Fragment( // parts = List( // Left(value = "INSERT INTO person (name, age) VALUES "), -// Right(value = cats.data.IndexedStateT@32bf4ee9), +// Right(value = cats.data.IndexedStateT@18e4c84c), // Left(value = "") // ), // encoder = Encoder(varchar, int4), @@ -278,7 +278,7 @@

// res8: Fragment[Person] = Fragment( // parts = List( // Left(value = "INSERT INTO person (name, age) VALUES "), -// Right(value = cats.data.IndexedStateT@642a8f99), +// Right(value = cats.data.IndexedStateT@18eb486b), // Left(value = "") // ), // encoder = Encoder(varchar, int4), diff --git a/reference/Fragments.html b/reference/Fragments.html index c9004a80..f3768e76 100644 --- a/reference/Fragments.html +++ b/reference/Fragments.html @@ -155,7 +155,7 @@

Fragments

// f2: Fragment[Long] = Fragment( // parts = List( // Left(value = "SELECT foo FROM bar WHERE baz = "), -// Right(value = cats.data.IndexedStateT@14fadb68), +// Right(value = cats.data.IndexedStateT@42ea8e81), // Left(value = "") // ), // encoder = Codec(int8), @@ -170,9 +170,9 @@

// f3: Fragment[Int *: String *: EmptyTuple] = Fragment( // parts = List( // Left(value = "foo "), -// Right(value = cats.data.IndexedStateT@44721251), +// Right(value = cats.data.IndexedStateT@68b80676), // Left(value = " bar "), -// Right(value = cats.data.IndexedStateT@51d533c3), +// Right(value = cats.data.IndexedStateT@1022e933), // Left(value = " bar") // ), // encoder = Codec(int4, varchar), @@ -219,7 +219,7 @@

// f4: Fragment[Int] = Fragment( // parts = List( // Left(value = "SELECT "), -// Right(value = cats.data.IndexedStateT@44721251), +// Right(value = cats.data.IndexedStateT@68b80676), // Left(value = ", foo FROM blah WHERE ") // ), // encoder = Codec(int4), @@ -230,7 +230,7 @@

// f5: Fragment[String] = Fragment( // parts = List( // Left(value = "bar = "), -// Right(value = cats.data.IndexedStateT@51d533c3), +// Right(value = cats.data.IndexedStateT@1022e933), // Left(value = "") // ), // encoder = Codec(varchar), @@ -241,10 +241,10 @@

// f6: Fragment[Int *: String *: EmptyTuple] = Fragment( // parts = List( // Left(value = "SELECT "), -// Right(value = cats.data.IndexedStateT@44721251), +// Right(value = cats.data.IndexedStateT@68b80676), // Left(value = ", foo FROM blah WHERE "), // Left(value = "bar = "), -// Right(value = cats.data.IndexedStateT@51d533c3), +// Right(value = cats.data.IndexedStateT@1022e933), // Left(value = "") // ), // encoder = Encoder(int4, varchar), @@ -255,7 +255,7 @@

// f7: Fragment[String] = Fragment( // parts = List( // Left(value = "bar = "), -// Right(value = cats.data.IndexedStateT@51d533c3), +// Right(value = cats.data.IndexedStateT@1022e933), // Left(value = "") // ), // encoder = Codec(varchar), @@ -266,13 +266,13 @@

// f8: Fragment[Int *: String *: Short *: EmptyTuple] = Fragment( // parts = List( // Left(value = "SELECT "), -// Right(value = cats.data.IndexedStateT@44721251), +// Right(value = cats.data.IndexedStateT@68b80676), // Left(value = ", foo FROM blah WHERE "), // Left(value = "bar = "), -// Right(value = cats.data.IndexedStateT@51d533c3), +// Right(value = cats.data.IndexedStateT@1022e933), // Left(value = ""), // Left(value = " AND x = "), -// Right(value = cats.data.IndexedStateT@6770bd08), +// Right(value = cats.data.IndexedStateT@2fc3510b), // Left(value = "") // ), // encoder = Encoder(int4, varchar, int2), @@ -289,9 +289,9 @@

// f9: Fragment[String *: Int *: EmptyTuple] = Fragment( // parts = List( // Left(value = "INSERT ... VALUES ("), -// Right(value = cats.data.IndexedStateT@51d533c3), +// Right(value = cats.data.IndexedStateT@1022e933), // Left(value = ", "), -// Right(value = cats.data.IndexedStateT@44721251), +// Right(value = cats.data.IndexedStateT@68b80676), // Left(value = ")") // ), // encoder = Codec(varchar, int4), @@ -303,9 +303,9 @@

// f10: Fragment[Person] = Fragment( // parts = List( // Left(value = "INSERT ... VALUES ("), -// Right(value = cats.data.IndexedStateT@51d533c3), +// Right(value = cats.data.IndexedStateT@1022e933), // Left(value = ", "), -// Right(value = cats.data.IndexedStateT@44721251), +// Right(value = cats.data.IndexedStateT@68b80676), // Left(value = ")") // ), // encoder = Encoder(varchar, int4), @@ -317,9 +317,9 @@

// f11: Fragment[Person] = Fragment( // parts = List( // Left(value = "INSERT ... VALUES ("), -// Right(value = cats.data.IndexedStateT@51d533c3), +// Right(value = cats.data.IndexedStateT@1022e933), // Left(value = ", "), -// Right(value = cats.data.IndexedStateT@44721251), +// Right(value = cats.data.IndexedStateT@68b80676), // Left(value = ")") // ), // encoder = Encoder(varchar, int4), diff --git a/tutorial/Query.html b/tutorial/Query.html index 1b1d54f7..8c9d56fc 100644 --- a/tutorial/Query.html +++ b/tutorial/Query.html @@ -499,7 +499,7 @@

Running this program yields the same output as above.

-
timestamp is 2024-05-09T19:15:43.903769Z
+        
timestamp is 2024-05-10T14:57:28.278867Z
 Country(United Arab Emirates,ARE,2441000)
 Country(United Kingdom,GBR,59623400)
 Country(Uganda,UGA,21778000)
diff --git a/tutorial/Setup.html b/tutorial/Setup.html
index f4ad43a5..cb3896b3 100644
--- a/tutorial/Setup.html
+++ b/tutorial/Setup.html
@@ -191,7 +191,7 @@ 

sql interpolator to construct a Query that selects a single column of schema type date (yielding d, a value of type java.time.LocalDate), then we ask the session to execute it, expecting a unique value back; i.e., exactly one row.

When we run the program we see the current date.

-
The current date is 2024-05-09.
+
The current date is 2024-05-10.

Experiment

Here are some modifications that will cause runtime failures. Give them a try and see how Skunk responds.