diff --git a/reference/Encoders.html b/reference/Encoders.html index 5ba0a08c..955ddd39 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@2fe1bd86), +// Right(value = cats.data.IndexedStateT@108aea5d), // 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@2fe1bd86), +// Right(value = cats.data.IndexedStateT@108aea5d), // Left(value = " AND population < "), -// Right(value = cats.data.IndexedStateT@105a0bc6), +// Right(value = cats.data.IndexedStateT@131083c4), // 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@6eedc78), +// Right(value = cats.data.IndexedStateT@1149cba3), // 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@a2a352f), +// Right(value = cats.data.IndexedStateT@5c750540), // 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@9e2fe7), +// Right(value = cats.data.IndexedStateT@2c47ca8a), // 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@77b99493), +// Right(value = cats.data.IndexedStateT@3f91a3d1), // 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@46211fa5), +// Right(value = cats.data.IndexedStateT@609963f5), // Left(value = "") // ), // encoder = Encoder(varchar, int4), diff --git a/reference/Fragments.html b/reference/Fragments.html index 6dfadbb1..94b53d5e 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@105a0bc6), +// Right(value = cats.data.IndexedStateT@131083c4), // 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@4dc626fd), +// Right(value = cats.data.IndexedStateT@76076c89), // Left(value = " bar "), -// Right(value = cats.data.IndexedStateT@2fe1bd86), +// Right(value = cats.data.IndexedStateT@108aea5d), // 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@4dc626fd), +// Right(value = cats.data.IndexedStateT@76076c89), // 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@2fe1bd86), +// Right(value = cats.data.IndexedStateT@108aea5d), // 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@4dc626fd), +// Right(value = cats.data.IndexedStateT@76076c89), // Left(value = ", foo FROM blah WHERE "), // Left(value = "bar = "), -// Right(value = cats.data.IndexedStateT@2fe1bd86), +// Right(value = cats.data.IndexedStateT@108aea5d), // Left(value = "") // ), // encoder = Encoder(int4, varchar), @@ -255,7 +255,7 @@

// f7: Fragment[String] = Fragment( // parts = List( // Left(value = "bar = "), -// Right(value = cats.data.IndexedStateT@2fe1bd86), +// Right(value = cats.data.IndexedStateT@108aea5d), // 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@4dc626fd), +// Right(value = cats.data.IndexedStateT@76076c89), // Left(value = ", foo FROM blah WHERE "), // Left(value = "bar = "), -// Right(value = cats.data.IndexedStateT@2fe1bd86), +// Right(value = cats.data.IndexedStateT@108aea5d), // Left(value = ""), // Left(value = " AND x = "), -// Right(value = cats.data.IndexedStateT@51219500), +// Right(value = cats.data.IndexedStateT@77177df1), // 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@2fe1bd86), +// Right(value = cats.data.IndexedStateT@108aea5d), // Left(value = ", "), -// Right(value = cats.data.IndexedStateT@4dc626fd), +// Right(value = cats.data.IndexedStateT@76076c89), // 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@2fe1bd86), +// Right(value = cats.data.IndexedStateT@108aea5d), // Left(value = ", "), -// Right(value = cats.data.IndexedStateT@4dc626fd), +// Right(value = cats.data.IndexedStateT@76076c89), // 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@2fe1bd86), +// Right(value = cats.data.IndexedStateT@108aea5d), // Left(value = ", "), -// Right(value = cats.data.IndexedStateT@4dc626fd), +// Right(value = cats.data.IndexedStateT@76076c89), // Left(value = ")") // ), // encoder = Encoder(varchar, int4), diff --git a/tutorial/Query.html b/tutorial/Query.html index ca5028b8..3480657e 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-08-18T12:52:11.119323Z
+        
timestamp is 2024-09-03T11:23:11.261740Z
 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 931c300c..515f0ceb 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-08-18.
+
The current date is 2024-09-03.

Experiment

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

diff --git a/tutorial/Transactions.html b/tutorial/Transactions.html index ee018684..257ea54e 100644 --- a/tutorial/Transactions.html +++ b/tutorial/Transactions.html @@ -394,8 +394,8 @@