Skip to content

Commit

Permalink
rebuilding site Fri Mar 1 11:20:45 CET 2024
Browse files Browse the repository at this point in the history
  • Loading branch information
ftisiot committed Mar 1, 2024
1 parent 72f4c7d commit a42987d
Show file tree
Hide file tree
Showing 55 changed files with 2,267 additions and 1,320 deletions.
30 changes: 30 additions & 0 deletions categories/contains/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,36 @@ <h2 class="near-white mt3-l mb4-l fw1 f6 f3-l measure-wide-l center lh-copy mt2



<div class="relative w-100">
<article>
<div class="db pv4 ph3 ph0-l no-underline dark-gray">
<div class="flex flex-column flex-row-ns">

<div class="mb4 mb0-ns w-100 h4 h4-m w4-m h5-ns w5-ns br3 cover hide-child" style="background-image: url('https://ftisiot.net/images/2023/mysql-json-little.png'); background-position: center;">
<a href="https://ftisiot.net/mysqljson/query-json-contains-mysql/" class="sans-serif db child w-100 h-100 f7 lh-copy white no-underline br3 ph3 pt4 pt5-l ttu tc bg-black-60">
<i class="mt3 mt5-l child far fa-calendar-alt"></i> Mar 1, 2024
</a>
</div>

<div class="w-100 w6-ns pl3-ns">
<h1 class="f3 fw1 mt0 lh-title"><a href="https://ftisiot.net/mysqljson/query-json-contains-mysql/" class="color-inherit dim link">How to query JSON in MySQL with JSON_CONTAINS</a></h1>
<div class="f6 f5-l lh-copy nested-copy-line-height nested-links">

<p>You can query a JSON document in MySQL to find content within it with:</p>
<ul>
<li>The <code>JSON_CONTAINS</code> function that will return if a JSON document is contained within another JSON document. The function returns <code>1</code> if the document is contained, <code>0</code> elsewhere.</li>
<li>The <code>JSON_CONTAINS</code> function that will return if a JSON document path is contained within another JSON document. The function returns <code>1</code> if the document is contained, <code>0</code> elsewhere.</li>
</ul>
<p class="pa0 sans-serif f7"><a class="ba br3 pa2 link" href="https://ftisiot.net/mysqljson/query-json-contains-mysql/">Continue Reading <i class="fas fa-chevron-circle-right"></i></a></p>

</div>
</div>
</div>
</div>
</article>
</div>


<div class="relative w-100">
<article>
<div class="db pv4 ph3 ph0-l no-underline dark-gray">
Expand Down
9 changes: 8 additions & 1 deletion categories/contains/index.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,15 @@
<description>Recent content in contains on ftisiot ideas about food and life</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language>
<lastBuildDate>Fri, 06 Jan 2023 16:39:26 +0100</lastBuildDate>
<lastBuildDate>Fri, 01 Mar 2024 10:53:23 +0100</lastBuildDate>
<atom:link href="https://ftisiot.net/categories/contains/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>How to query JSON in MySQL with JSON_CONTAINS</title>
<link>https://ftisiot.net/mysqljson/query-json-contains-mysql/</link>
<pubDate>Fri, 01 Mar 2024 10:53:23 +0100</pubDate>
<guid>https://ftisiot.net/mysqljson/query-json-contains-mysql/</guid>
<description>&lt;p&gt;You can query a JSON document in MySQL to find content within it with:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;The &lt;code&gt;JSON_CONTAINS&lt;/code&gt; function that will return if a JSON document is contained within another JSON document. The function returns &lt;code&gt;1&lt;/code&gt; if the document is contained, &lt;code&gt;0&lt;/code&gt; elsewhere.&lt;/li&gt;&#xA;&lt;li&gt;The &lt;code&gt;JSON_CONTAINS&lt;/code&gt; function that will return if a JSON document path is contained within another JSON document. The function returns &lt;code&gt;1&lt;/code&gt; if the document is contained, &lt;code&gt;0&lt;/code&gt; elsewhere.&lt;/li&gt;&#xA;&lt;/ul&gt;</description>
</item>
<item>
<title>How to check if JSON contains in PostgreSQL®?</title>
<link>https://ftisiot.net/postgresqljson/how-to-check-JSON-contains-postgresql/</link>
Expand Down
80 changes: 40 additions & 40 deletions categories/index.html

Large diffs are not rendered by default.

58 changes: 36 additions & 22 deletions categories/index.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,43 @@
<description>Recent content in Categories on ftisiot ideas about food and life</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language>
<lastBuildDate>Thu, 29 Feb 2024 11:00:56 +0100</lastBuildDate>
<lastBuildDate>Fri, 01 Mar 2024 10:53:23 +0100</lastBuildDate>
<atom:link href="https://ftisiot.net/categories/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>contains</title>
<link>https://ftisiot.net/categories/contains/</link>
<pubDate>Fri, 01 Mar 2024 10:53:23 +0100</pubDate>
<guid>https://ftisiot.net/categories/contains/</guid>
<description></description>
</item>
<item>
<title>json</title>
<link>https://ftisiot.net/categories/json/</link>
<pubDate>Fri, 01 Mar 2024 10:53:23 +0100</pubDate>
<guid>https://ftisiot.net/categories/json/</guid>
<description></description>
</item>
<item>
<title>json_contains</title>
<link>https://ftisiot.net/categories/json_contains/</link>
<pubDate>Fri, 01 Mar 2024 10:53:23 +0100</pubDate>
<guid>https://ftisiot.net/categories/json_contains/</guid>
<description></description>
</item>
<item>
<title>json_contains_path</title>
<link>https://ftisiot.net/categories/json_contains_path/</link>
<pubDate>Fri, 01 Mar 2024 10:53:23 +0100</pubDate>
<guid>https://ftisiot.net/categories/json_contains_path/</guid>
<description></description>
</item>
<item>
<title>mysql</title>
<link>https://ftisiot.net/categories/mysql/</link>
<pubDate>Fri, 01 Mar 2024 10:53:23 +0100</pubDate>
<guid>https://ftisiot.net/categories/mysql/</guid>
<description></description>
</item>
<item>
<title>AI</title>
<link>https://ftisiot.net/categories/ai/</link>
Expand Down Expand Up @@ -71,13 +106,6 @@
<guid>https://ftisiot.net/categories/concatenation/</guid>
<description></description>
</item>
<item>
<title>mysql</title>
<link>https://ftisiot.net/categories/mysql/</link>
<pubDate>Mon, 12 Feb 2024 14:43:29 +0100</pubDate>
<guid>https://ftisiot.net/categories/mysql/</guid>
<description></description>
</item>
<item>
<title>String</title>
<link>https://ftisiot.net/categories/string/</link>
Expand All @@ -99,13 +127,6 @@
<guid>https://ftisiot.net/categories/jq/</guid>
<description></description>
</item>
<item>
<title>json</title>
<link>https://ftisiot.net/categories/json/</link>
<pubDate>Fri, 02 Feb 2024 11:25:54 +0100</pubDate>
<guid>https://ftisiot.net/categories/json/</guid>
<description></description>
</item>
<item>
<title>DataLoad</title>
<link>https://ftisiot.net/categories/dataload/</link>
Expand Down Expand Up @@ -463,13 +484,6 @@
<guid>https://ftisiot.net/categories/parse/</guid>
<description></description>
</item>
<item>
<title>contains</title>
<link>https://ftisiot.net/categories/contains/</link>
<pubDate>Fri, 06 Jan 2023 16:39:26 +0100</pubDate>
<guid>https://ftisiot.net/categories/contains/</guid>
<description></description>
</item>
<item>
<title>Evaluation</title>
<link>https://ftisiot.net/categories/evaluation/</link>
Expand Down
62 changes: 30 additions & 32 deletions categories/json/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,36 @@ <h2 class="near-white mt3-l mb4-l fw1 f6 f3-l measure-wide-l center lh-copy mt2



<div class="relative w-100">
<article>
<div class="db pv4 ph3 ph0-l no-underline dark-gray">
<div class="flex flex-column flex-row-ns">

<div class="mb4 mb0-ns w-100 h4 h4-m w4-m h5-ns w5-ns br3 cover hide-child" style="background-image: url('https://ftisiot.net/images/2023/mysql-json-little.png'); background-position: center;">
<a href="https://ftisiot.net/mysqljson/query-json-contains-mysql/" class="sans-serif db child w-100 h-100 f7 lh-copy white no-underline br3 ph3 pt4 pt5-l ttu tc bg-black-60">
<i class="mt3 mt5-l child far fa-calendar-alt"></i> Mar 1, 2024
</a>
</div>

<div class="w-100 w6-ns pl3-ns">
<h1 class="f3 fw1 mt0 lh-title"><a href="https://ftisiot.net/mysqljson/query-json-contains-mysql/" class="color-inherit dim link">How to query JSON in MySQL with JSON_CONTAINS</a></h1>
<div class="f6 f5-l lh-copy nested-copy-line-height nested-links">

<p>You can query a JSON document in MySQL to find content within it with:</p>
<ul>
<li>The <code>JSON_CONTAINS</code> function that will return if a JSON document is contained within another JSON document. The function returns <code>1</code> if the document is contained, <code>0</code> elsewhere.</li>
<li>The <code>JSON_CONTAINS</code> function that will return if a JSON document path is contained within another JSON document. The function returns <code>1</code> if the document is contained, <code>0</code> elsewhere.</li>
</ul>
<p class="pa0 sans-serif f7"><a class="ba br3 pa2 link" href="https://ftisiot.net/mysqljson/query-json-contains-mysql/">Continue Reading <i class="fas fa-chevron-circle-right"></i></a></p>

</div>
</div>
</div>
</div>
</article>
</div>


<div class="relative w-100">
<article>
<div class="db pv4 ph3 ph0-l no-underline dark-gray">
Expand Down Expand Up @@ -333,38 +363,6 @@ <h1 class="f3 fw1 mt0 lh-title"><a href="https://ftisiot.net/mysqljson/how-to-ex
</div>


<div class="relative w-100">
<article>
<div class="db pv4 ph3 ph0-l no-underline dark-gray">
<div class="flex flex-column flex-row-ns">

<div class="mb4 mb0-ns w-100 h4 h4-m w4-m h5-ns w5-ns br3 cover hide-child" style="background-image: url('https://ftisiot.net/images/2023/mysql-json-little.png'); background-position: center;">
<a href="https://ftisiot.net/mysqljson/how-to-extract-field-from-json-mysql/" class="sans-serif db child w-100 h-100 f7 lh-copy white no-underline br3 ph3 pt4 pt5-l ttu tc bg-black-60">
<i class="mt3 mt5-l child far fa-calendar-alt"></i> Jul 21, 2023
</a>
</div>

<div class="w-100 w6-ns pl3-ns">
<h1 class="f3 fw1 mt0 lh-title"><a href="https://ftisiot.net/mysqljson/how-to-extract-field-from-json-mysql/" class="color-inherit dim link">How to extract a field from a JSON object in MySQL</a></h1>
<div class="f6 f5-l lh-copy nested-copy-line-height nested-links">

<p>MySQL® offers three ways to extract fields from a JSON object:</p>
<ul>
<li>the <code>-&gt;</code> operator to extract the field as JSON</li>
<li>the <code>-&gt;&gt;</code> operator to extract the field as text</li>
<li>the <code>JSON_EXTRACT</code> function</li>
</ul>
<p>Both operators use the <a href="https://dev.mysql.com/doc/refman/8.0/en/json.html#json-path-syntax">JSON Path Syntax</a></p>
<p class="pa0 sans-serif f7"><a class="ba br3 pa2 link" href="https://ftisiot.net/mysqljson/how-to-extract-field-from-json-mysql/">Continue Reading <i class="fas fa-chevron-circle-right"></i></a></p>

</div>
</div>
</div>
</div>
</article>
</div>



</section>
</div>
Expand Down
9 changes: 8 additions & 1 deletion categories/json/index.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,15 @@
<description>Recent content in json on ftisiot ideas about food and life</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language>
<lastBuildDate>Fri, 02 Feb 2024 11:25:54 +0100</lastBuildDate>
<lastBuildDate>Fri, 01 Mar 2024 10:53:23 +0100</lastBuildDate>
<atom:link href="https://ftisiot.net/categories/json/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>How to query JSON in MySQL with JSON_CONTAINS</title>
<link>https://ftisiot.net/mysqljson/query-json-contains-mysql/</link>
<pubDate>Fri, 01 Mar 2024 10:53:23 +0100</pubDate>
<guid>https://ftisiot.net/mysqljson/query-json-contains-mysql/</guid>
<description>&lt;p&gt;You can query a JSON document in MySQL to find content within it with:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;The &lt;code&gt;JSON_CONTAINS&lt;/code&gt; function that will return if a JSON document is contained within another JSON document. The function returns &lt;code&gt;1&lt;/code&gt; if the document is contained, &lt;code&gt;0&lt;/code&gt; elsewhere.&lt;/li&gt;&#xA;&lt;li&gt;The &lt;code&gt;JSON_CONTAINS&lt;/code&gt; function that will return if a JSON document path is contained within another JSON document. The function returns &lt;code&gt;1&lt;/code&gt; if the document is contained, &lt;code&gt;0&lt;/code&gt; elsewhere.&lt;/li&gt;&#xA;&lt;/ul&gt;</description>
</item>
<item>
<title>How to load JSON data in PostgreSQL with the COPY command</title>
<link>https://ftisiot.net/postgresqljson/load-json-data-with-postgresql-copy/</link>
Expand Down
58 changes: 32 additions & 26 deletions categories/json/page/2/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,38 @@ <h2 class="near-white mt3-l mb4-l fw1 f6 f3-l measure-wide-l center lh-copy mt2



<div class="relative w-100">
<article>
<div class="db pv4 ph3 ph0-l no-underline dark-gray">
<div class="flex flex-column flex-row-ns">

<div class="mb4 mb0-ns w-100 h4 h4-m w4-m h5-ns w5-ns br3 cover hide-child" style="background-image: url('https://ftisiot.net/images/2023/mysql-json-little.png'); background-position: center;">
<a href="https://ftisiot.net/mysqljson/how-to-extract-field-from-json-mysql/" class="sans-serif db child w-100 h-100 f7 lh-copy white no-underline br3 ph3 pt4 pt5-l ttu tc bg-black-60">
<i class="mt3 mt5-l child far fa-calendar-alt"></i> Jul 21, 2023
</a>
</div>

<div class="w-100 w6-ns pl3-ns">
<h1 class="f3 fw1 mt0 lh-title"><a href="https://ftisiot.net/mysqljson/how-to-extract-field-from-json-mysql/" class="color-inherit dim link">How to extract a field from a JSON object in MySQL</a></h1>
<div class="f6 f5-l lh-copy nested-copy-line-height nested-links">

<p>MySQL® offers three ways to extract fields from a JSON object:</p>
<ul>
<li>the <code>-&gt;</code> operator to extract the field as JSON</li>
<li>the <code>-&gt;&gt;</code> operator to extract the field as text</li>
<li>the <code>JSON_EXTRACT</code> function</li>
</ul>
<p>Both operators use the <a href="https://dev.mysql.com/doc/refman/8.0/en/json.html#json-path-syntax">JSON Path Syntax</a></p>
<p class="pa0 sans-serif f7"><a class="ba br3 pa2 link" href="https://ftisiot.net/mysqljson/how-to-extract-field-from-json-mysql/">Continue Reading <i class="fas fa-chevron-circle-right"></i></a></p>

</div>
</div>
</div>
</div>
</article>
</div>


<div class="relative w-100">
<article>
<div class="db pv4 ph3 ph0-l no-underline dark-gray">
Expand Down Expand Up @@ -324,32 +356,6 @@ <h1 class="f3 fw1 mt0 lh-title"><a href="https://ftisiot.net/postgresqljson/how-
</div>


<div class="relative w-100">
<article>
<div class="db pv4 ph3 ph0-l no-underline dark-gray">
<div class="flex flex-column flex-row-ns">

<div class="mb4 mb0-ns w-100 h4 h4-m w4-m h5-ns w5-ns br3 cover hide-child" style="background-image: url('https://ftisiot.net/images/2023/pg-json.png'); background-position: center;">
<a href="https://ftisiot.net/postgresqljson/how-to-concatenate-two-json-docs-postgresql/" class="sans-serif db child w-100 h-100 f7 lh-copy white no-underline br3 ph3 pt4 pt5-l ttu tc bg-black-60">
<i class="mt3 mt5-l child far fa-calendar-alt"></i> Jan 10, 2023
</a>
</div>

<div class="w-100 w6-ns pl3-ns">
<h1 class="f3 fw1 mt0 lh-title"><a href="https://ftisiot.net/postgresqljson/how-to-concatenate-two-json-docs-postgresql/" class="color-inherit dim link">How to concatenate two JSON documents in PostgreSQL®?</a></h1>
<div class="f6 f5-l lh-copy nested-copy-line-height nested-links">

<p>PostgreSQL® offers two types of data types to handle JSON data, <code>JSON</code> and <code>JSONB</code>, you can use the opearator <code>||</code> to concatenate two JSON objects.</p>
<p class="pa0 sans-serif f7"><a class="ba br3 pa2 link" href="https://ftisiot.net/postgresqljson/how-to-concatenate-two-json-docs-postgresql/">Continue Reading <i class="fas fa-chevron-circle-right"></i></a></p>

</div>
</div>
</div>
</div>
</article>
</div>



</section>
</div>
Expand Down
52 changes: 26 additions & 26 deletions categories/json/page/3/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,32 @@ <h2 class="near-white mt3-l mb4-l fw1 f6 f3-l measure-wide-l center lh-copy mt2



<div class="relative w-100">
<article>
<div class="db pv4 ph3 ph0-l no-underline dark-gray">
<div class="flex flex-column flex-row-ns">

<div class="mb4 mb0-ns w-100 h4 h4-m w4-m h5-ns w5-ns br3 cover hide-child" style="background-image: url('https://ftisiot.net/images/2023/pg-json.png'); background-position: center;">
<a href="https://ftisiot.net/postgresqljson/how-to-concatenate-two-json-docs-postgresql/" class="sans-serif db child w-100 h-100 f7 lh-copy white no-underline br3 ph3 pt4 pt5-l ttu tc bg-black-60">
<i class="mt3 mt5-l child far fa-calendar-alt"></i> Jan 10, 2023
</a>
</div>

<div class="w-100 w6-ns pl3-ns">
<h1 class="f3 fw1 mt0 lh-title"><a href="https://ftisiot.net/postgresqljson/how-to-concatenate-two-json-docs-postgresql/" class="color-inherit dim link">How to concatenate two JSON documents in PostgreSQL®?</a></h1>
<div class="f6 f5-l lh-copy nested-copy-line-height nested-links">

<p>PostgreSQL® offers two types of data types to handle JSON data, <code>JSON</code> and <code>JSONB</code>, you can use the opearator <code>||</code> to concatenate two JSON objects.</p>
<p class="pa0 sans-serif f7"><a class="ba br3 pa2 link" href="https://ftisiot.net/postgresqljson/how-to-concatenate-two-json-docs-postgresql/">Continue Reading <i class="fas fa-chevron-circle-right"></i></a></p>

</div>
</div>
</div>
</div>
</article>
</div>


<div class="relative w-100">
<article>
<div class="db pv4 ph3 ph0-l no-underline dark-gray">
Expand Down Expand Up @@ -324,32 +350,6 @@ <h1 class="f3 fw1 mt0 lh-title"><a href="https://ftisiot.net/mysqljson/" class="
</div>


<div class="relative w-100">
<article>
<div class="db pv4 ph3 ph0-l no-underline dark-gray">
<div class="flex flex-column flex-row-ns">

<div class="mb4 mb0-ns w-100 h4 h4-m w4-m h5-ns w5-ns br3 cover hide-child" style="background-image: url('https://ftisiot.net/images/2023/pg-json.png'); background-position: center;">
<a href="https://ftisiot.net/postgresqljson/" class="sans-serif db child w-100 h-100 f7 lh-copy white no-underline br3 ph3 pt4 pt5-l ttu tc bg-black-60">
<i class="mt3 mt5-l child far fa-calendar-alt"></i> Jan 9, 2023
</a>
</div>

<div class="w-100 w6-ns pl3-ns">
<h1 class="f3 fw1 mt0 lh-title"><a href="https://ftisiot.net/postgresqljson/" class="color-inherit dim link">How to JSON in PostgreSQL®</a></h1>
<div class="f6 f5-l lh-copy nested-copy-line-height nested-links">


<p class="pa0 sans-serif f7"><a class="ba br3 pa2 link" href="https://ftisiot.net/postgresqljson/">Continue Reading <i class="fas fa-chevron-circle-right"></i></a></p>

</div>
</div>
</div>
</div>
</article>
</div>



</section>
</div>
Expand Down
Loading

0 comments on commit a42987d

Please sign in to comment.