Skip to content

Commit

Permalink
deploy: 5c9bf40
Browse files Browse the repository at this point in the history
  • Loading branch information
armanbilge committed Oct 4, 2023
1 parent 1e3dc6d commit db4a251
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 29 deletions.
20 changes: 10 additions & 10 deletions reference/Encoders.html
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ <h2 id="base-encoders" class="section"><a class="anchor-link left" href="#base-e
</span><span class="comment">// res0: Fragment[String] = Fragment(
// parts = List(
// Left(value = &quot;SELECT name FROM country WHERE code = &quot;),
// Right(value = cats.data.IndexedStateT@67984a0b),
// Right(value = cats.data.IndexedStateT@75062ad4),
// Left(value = &quot;&quot;)
// ),
// encoder = Codec(varchar),
Expand All @@ -172,9 +172,9 @@ <h2 id="base-encoders" class="section"><a class="anchor-link left" href="#base-e
</span><span class="comment">// res1: Fragment[String *: Long *: EmptyTuple] = Fragment(
// parts = List(
// Left(value = &quot;SELECT name FROM country WHERE code = &quot;),
// Right(value = cats.data.IndexedStateT@67984a0b),
// Right(value = cats.data.IndexedStateT@75062ad4),
// Left(value = &quot; AND population &lt; &quot;),
// Right(value = cats.data.IndexedStateT@5fbe2f84),
// Right(value = cats.data.IndexedStateT@2e8cea00),
// Left(value = &quot;&quot;)
// ),
// encoder = Codec(varchar, int8),
Expand All @@ -193,7 +193,7 @@ <h2 id="composite-encoders" class="section"><a class="anchor-link left" href="#c
</span><span class="comment">// res2: Fragment[String ~ Int] = Fragment(
// parts = List(
// Left(value = &quot;INSERT INTO person (name, age) VALUES (&quot;),
// Right(value = cats.data.IndexedStateT@719b69ed),
// Right(value = cats.data.IndexedStateT@1d80f7d6),
// Left(value = &quot;)&quot;)
// ),
// encoder = Codec(varchar, int4),
Expand All @@ -211,9 +211,9 @@ <h2 id="composite-encoders" class="section"><a class="anchor-link left" href="#c
// Left(
// value = &quot;INSERT INTO person (comment, name, age, weight, comment) VALUES (&quot;
// ),
// Right(value = cats.data.IndexedStateT@5ddc9681),
// Right(value = cats.data.IndexedStateT@3f158b64),
// Left(value = &quot;, &quot;),
// Right(value = cats.data.IndexedStateT@34873fdc),
// Right(value = cats.data.IndexedStateT@6a3b770b),
// Left(value = &quot;)&quot;)
// ),
// encoder = Codec(text, varchar, int4, float4),
Expand All @@ -229,7 +229,7 @@ <h2 id="combinators" class="section"><a class="anchor-link left" href="#combinat
</span><span class="comment">// res4: Fragment[String ~ Int] = Fragment(
// parts = List(
// Left(value = &quot;INSERT INTO person (name, age) VALUES &quot;),
// Right(value = cats.data.IndexedStateT@1a6be4c7),
// Right(value = cats.data.IndexedStateT@23ae4ca6),
// Left(value = &quot;&quot;)
// ),
// encoder = Encoder(varchar, int4),
Expand All @@ -244,7 +244,7 @@ <h2 id="combinators" class="section"><a class="anchor-link left" href="#combinat
</span><span class="comment">// res5: Fragment[List[String ~ Int]] = Fragment(
// parts = List(
// Left(value = &quot;INSERT INTO person (name, age) VALUES &quot;),
// Right(value = cats.data.IndexedStateT@30152266),
// Right(value = cats.data.IndexedStateT@390a3142),
// Left(value = &quot;&quot;)
// ),
// encoder = Encoder(varchar, int4, varchar, int4, varchar, int4),
Expand All @@ -263,7 +263,7 @@ <h2 id="transforming-the-input-type" class="section"><a class="anchor-link left"
</span><span class="comment">// res6: Fragment[Person] = Fragment(
// parts = List(
// Left(value = &quot;INSERT INTO person (name, age) VALUES &quot;),
// Right(value = cats.data.IndexedStateT@9c4d27b),
// Right(value = cats.data.IndexedStateT@2ad7c3ac),
// Left(value = &quot;&quot;)
// ),
// encoder = Encoder(varchar, int4),
Expand All @@ -280,7 +280,7 @@ <h2 id="transforming-the-input-type" class="section"><a class="anchor-link left"
</span><span class="comment">// res8: Fragment[Person] = Fragment(
// parts = List(
// Left(value = &quot;INSERT INTO person (name, age) VALUES &quot;),
// Right(value = cats.data.IndexedStateT@4306540),
// Right(value = cats.data.IndexedStateT@1be56ad2),
// Left(value = &quot;&quot;)
// ),
// encoder = Encoder(varchar, int4),
Expand Down
34 changes: 17 additions & 17 deletions reference/Fragments.html
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ <h1 id="fragments" class="title">Fragments</h1>
</span><span class="comment">// f2: Fragment[Long] = Fragment(
// parts = List(
// Left(value = &quot;SELECT foo FROM bar WHERE baz = &quot;),
// Right(value = cats.data.IndexedStateT@5fbe2f84),
// Right(value = cats.data.IndexedStateT@2e8cea00),
// Left(value = &quot;&quot;)
// ),
// encoder = Codec(int8),
Expand All @@ -172,9 +172,9 @@ <h2 id="interpolating-parameter-encoders" class="section"><a class="anchor-link
</span><span class="comment">// f3: Fragment[Int *: String *: EmptyTuple] = Fragment(
// parts = List(
// Left(value = &quot;foo &quot;),
// Right(value = cats.data.IndexedStateT@6a538956),
// Right(value = cats.data.IndexedStateT@11810965),
// Left(value = &quot; bar &quot;),
// Right(value = cats.data.IndexedStateT@67984a0b),
// Right(value = cats.data.IndexedStateT@75062ad4),
// Left(value = &quot; bar&quot;)
// ),
// encoder = Codec(int4, varchar),
Expand Down Expand Up @@ -221,7 +221,7 @@ <h2 id="composing-fragments" class="section"><a class="anchor-link left" href="#
</span><span class="comment">// f4: Fragment[Int] = Fragment(
// parts = List(
// Left(value = &quot;SELECT &quot;),
// Right(value = cats.data.IndexedStateT@6a538956),
// Right(value = cats.data.IndexedStateT@11810965),
// Left(value = &quot;, foo FROM blah WHERE &quot;)
// ),
// encoder = Codec(int4),
Expand All @@ -232,7 +232,7 @@ <h2 id="composing-fragments" class="section"><a class="anchor-link left" href="#
</span><span class="comment">// f5: Fragment[String] = Fragment(
// parts = List(
// Left(value = &quot;bar = &quot;),
// Right(value = cats.data.IndexedStateT@67984a0b),
// Right(value = cats.data.IndexedStateT@75062ad4),
// Left(value = &quot;&quot;)
// ),
// encoder = Codec(varchar),
Expand All @@ -243,10 +243,10 @@ <h2 id="composing-fragments" class="section"><a class="anchor-link left" href="#
</span><span class="comment">// f6: Fragment[Int *: String *: EmptyTuple] = Fragment(
// parts = List(
// Left(value = &quot;SELECT &quot;),
// Right(value = cats.data.IndexedStateT@6a538956),
// Right(value = cats.data.IndexedStateT@11810965),
// Left(value = &quot;, foo FROM blah WHERE &quot;),
// Left(value = &quot;bar = &quot;),
// Right(value = cats.data.IndexedStateT@67984a0b),
// Right(value = cats.data.IndexedStateT@75062ad4),
// Left(value = &quot;&quot;)
// ),
// encoder = Encoder(int4, varchar),
Expand All @@ -257,7 +257,7 @@ <h2 id="composing-fragments" class="section"><a class="anchor-link left" href="#
</span><span class="comment">// f7: Fragment[String] = Fragment(
// parts = List(
// Left(value = &quot;bar = &quot;),
// Right(value = cats.data.IndexedStateT@67984a0b),
// Right(value = cats.data.IndexedStateT@75062ad4),
// Left(value = &quot;&quot;)
// ),
// encoder = Codec(varchar),
Expand All @@ -268,13 +268,13 @@ <h2 id="composing-fragments" class="section"><a class="anchor-link left" href="#
</span><span class="comment">// f8: Fragment[Int *: String *: Short *: EmptyTuple] = Fragment(
// parts = List(
// Left(value = &quot;SELECT &quot;),
// Right(value = cats.data.IndexedStateT@6a538956),
// Right(value = cats.data.IndexedStateT@11810965),
// Left(value = &quot;, foo FROM blah WHERE &quot;),
// Left(value = &quot;bar = &quot;),
// Right(value = cats.data.IndexedStateT@67984a0b),
// Right(value = cats.data.IndexedStateT@75062ad4),
// Left(value = &quot;&quot;),
// Left(value = &quot; AND x = &quot;),
// Right(value = cats.data.IndexedStateT@7bca446a),
// Right(value = cats.data.IndexedStateT@7b8ff7e),
// Left(value = &quot;&quot;)
// ),
// encoder = Encoder(int4, varchar, int2),
Expand All @@ -291,9 +291,9 @@ <h2 id="contramapping-fragments" class="section"><a class="anchor-link left" hre
</span><span class="comment">// f9: Fragment[String *: Int *: EmptyTuple] = Fragment(
// parts = List(
// Left(value = &quot;INSERT ... VALUES (&quot;),
// Right(value = cats.data.IndexedStateT@67984a0b),
// Right(value = cats.data.IndexedStateT@75062ad4),
// Left(value = &quot;, &quot;),
// Right(value = cats.data.IndexedStateT@6a538956),
// Right(value = cats.data.IndexedStateT@11810965),
// Left(value = &quot;)&quot;)
// ),
// encoder = Codec(varchar, int4),
Expand All @@ -305,9 +305,9 @@ <h2 id="contramapping-fragments" class="section"><a class="anchor-link left" hre
</span><span class="comment">// f10: Fragment[Person] = Fragment(
// parts = List(
// Left(value = &quot;INSERT ... VALUES (&quot;),
// Right(value = cats.data.IndexedStateT@67984a0b),
// Right(value = cats.data.IndexedStateT@75062ad4),
// Left(value = &quot;, &quot;),
// Right(value = cats.data.IndexedStateT@6a538956),
// Right(value = cats.data.IndexedStateT@11810965),
// Left(value = &quot;)&quot;)
// ),
// encoder = Encoder(varchar, int4),
Expand All @@ -319,9 +319,9 @@ <h2 id="contramapping-fragments" class="section"><a class="anchor-link left" hre
</span><span class="comment">// f11: Fragment[Person] = Fragment(
// parts = List(
// Left(value = &quot;INSERT ... VALUES (&quot;),
// Right(value = cats.data.IndexedStateT@67984a0b),
// Right(value = cats.data.IndexedStateT@75062ad4),
// Left(value = &quot;, &quot;),
// Right(value = cats.data.IndexedStateT@6a538956),
// Right(value = cats.data.IndexedStateT@11810965),
// Left(value = &quot;)&quot;)
// ),
// encoder = Encoder(varchar, int4),
Expand Down
4 changes: 2 additions & 2 deletions tutorial/Query.html
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,7 @@ <h2 id="full-example" class="section"><a class="anchor-link left" href="#full-ex

}</span></code></pre>
<p>Running this program yields the following.</p>
<pre><code>timestamp is 2023-10-04T22:04:44.601444Z
<pre><code>timestamp is 2023-10-04T22:44:37.686014Z
Country(United Arab Emirates,ARE,2441000)
Country(United Kingdom,GBR,59623400)
Country(Uganda,UGA,21778000)
Expand Down Expand Up @@ -590,7 +590,7 @@ <h2 id="service-oriented-example" class="section"><a class="anchor-link left" hr

}</span></code></pre>
<p>Running this program yields the same output as above.</p>
<pre><code>timestamp is 2023-10-04T22:04:44.772889Z
<pre><code>timestamp is 2023-10-04T22:44:37.944484Z
Country(United Arab Emirates,ARE,2441000)
Country(United Kingdom,GBR,59623400)
Country(Uganda,UGA,21778000)
Expand Down

0 comments on commit db4a251

Please sign in to comment.