Skip to content

Commit 27507f2

Browse files
committed
rebuilding site Thu Aug 14 13:10:55 CEST 2025
1 parent e9583a4 commit 27507f2

6 files changed

Lines changed: 691 additions & 4 deletions

File tree

index.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -694,5 +694,12 @@
694694
<guid>https://ftisiot.net/components/pglink/</guid>
695695
<description>&lt;p&gt; &lt;p style=&#34;background: #C1E1C1;border: 2px solid #b4d3b2;border-radius: 15px;text-align: center;&#34;&gt;👉 Want a FREE PostgreSQL database?👈&lt;br&gt;🦀 Check &lt;a href=&#34;https://go.aiven.io/francesco-signup&#34;&gt;Aiven&amp;rsquo;s FREE plans&lt;/a&gt;! 🦀 &lt;/p&gt;&lt;/p&gt;&#xA;&lt;p style=&#34;background: #ffdfba;border: 2px solid #FFAC1C;border-radius: 15px;text-align: center;&#34;&gt;&#xA;⚡️ Want to optimize your SQL query with AI? ⚡️ &lt;br&gt;&#xA;Check &lt;a href=&#34;https://go.aiven.io/ft-sql-query-optimizer&#34;&gt;Aiven SQL Query Optimizer&lt;/a&gt;! &lt;/p&gt;&#xA;&lt;p style=&#34;background: #C1E1C1;border: 2px solid #b4d3b2;border-radius: 15px;text-align: center;&#34;&gt;&#xA;⚡️ Want a Fully PostgreSQL optimized Database? ⚡️ &lt;br&gt;&#xA;Check &lt;a href=&#34;https://go.aiven.io/ft-ai-db-optimizer&#34;&gt;Aiven AI Database Optimizer&lt;/a&gt;! &lt;br&gt;&lt;font size=1&gt;Powered by EverSQL, it provides you index and SQL rewrite recommendations to take your database performance to the next level&lt;/font&gt;&#xA;&lt;/p&gt;</description>
696696
</item>
697+
<item>
698+
<title>Site Map</title>
699+
<link>https://ftisiot.net/sitemap/</link>
700+
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
701+
<guid>https://ftisiot.net/sitemap/</guid>
702+
<description>&lt;h1 id=&#34;site-map&#34;&gt;Site Map&lt;/h1&gt;&#xA;&lt;h2 id=&#34;main-sections&#34;&gt;Main Sections&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://ftisiot.net/who&#34;&gt;About&lt;/a&gt; - Learn more about Francesco Tisiot&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://ftisiot.net/suggestions-verona&#34;&gt;Suggestions&lt;/a&gt; - Restaurant and activity suggestions for Verona&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://ftisiot.net/postgresqljson/main&#34;&gt;PostgreSQL JSON&lt;/a&gt; - Complete guide to PostgreSQL JSON functions&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://ftisiot.net/mysqljson/main&#34;&gt;MySQL JSON&lt;/a&gt; - Complete guide to MySQL JSON functions&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;content-categories&#34;&gt;Content Categories&lt;/h2&gt;&#xA;&lt;h3 id=&#34;postgresql-json-tutorials&#34;&gt;PostgreSQL JSON Tutorials&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://ftisiot.net/postgresqljson/array-from-elements&#34;&gt;Array from Elements&lt;/a&gt; - Build JSON arrays from elements&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://ftisiot.net/postgresqljson/types&#34;&gt;Types&lt;/a&gt; - JSON vs JSONB differences&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://ftisiot.net/postgresqljson/extract&#34;&gt;Extract&lt;/a&gt; - Extract data from JSON&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://ftisiot.net/postgresqljson/edit&#34;&gt;Edit&lt;/a&gt; - Modify JSON content&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://ftisiot.net/postgresqljson/create&#34;&gt;Create&lt;/a&gt; - Create JSON objects&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://ftisiot.net/postgresqljson/array&#34;&gt;Array&lt;/a&gt; - JSON array operations&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://ftisiot.net/postgresqljson/contains&#34;&gt;Contains&lt;/a&gt; - Check JSON content&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://ftisiot.net/postgresqljson/keys&#34;&gt;Keys&lt;/a&gt; - Extract JSON keys&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://ftisiot.net/postgresqljson/remove-fields&#34;&gt;Remove Fields&lt;/a&gt; - Remove JSON properties&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://ftisiot.net/postgresqljson/prettify&#34;&gt;Prettify&lt;/a&gt; - Format JSON output&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3 id=&#34;mysql-json-tutorials&#34;&gt;MySQL JSON Tutorials&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://ftisiot.net/mysqljson/create&#34;&gt;Create&lt;/a&gt; - Create JSON in MySQL&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://ftisiot.net/mysqljson/extract&#34;&gt;Extract&lt;/a&gt; - Extract JSON data&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://ftisiot.net/mysqljson/edit&#34;&gt;Edit&lt;/a&gt; - Modify MySQL JSON&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://ftisiot.net/mysqljson/types&#34;&gt;Types&lt;/a&gt; - MySQL JSON data types&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://ftisiot.net/mysqljson/extract_array&#34;&gt;Array&lt;/a&gt; - Array operations&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://ftisiot.net/mysqljson/search-json-contains&#34;&gt;Search&lt;/a&gt; - Search within JSON&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://ftisiot.net/mysqljson/remove&#34;&gt;Remove&lt;/a&gt; - Remove JSON elements&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://ftisiot.net/mysqljson/merge&#34;&gt;Merge&lt;/a&gt; - Combine JSON objects&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://ftisiot.net/mysqljson/insert&#34;&gt;Insert&lt;/a&gt; - Insert JSON data&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://ftisiot.net/mysqljson/tabulate&#34;&gt;Tabulate&lt;/a&gt; - Convert to tables&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3 id=&#34;blog-posts&#34;&gt;Blog Posts&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://ftisiot.net/posts/1brows&#34;&gt;1 Billion Rows Challenge&lt;/a&gt; - PostgreSQL vs ClickHouse performance&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://ftisiot.net/posts/postgresql-isnull&#34;&gt;PostgreSQL ISNULL&lt;/a&gt; - Handling NULL values&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://ftisiot.net/posts/postgresql-substr&#34;&gt;PostgreSQL SUBSTR&lt;/a&gt; - String manipulation&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://ftisiot.net/posts/pgbench-test-postgresql&#34;&gt;pgbench Testing&lt;/a&gt; - Performance benchmarking&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://ftisiot.net/posts/dbf-to-postgresql-python&#34;&gt;DBF to PostgreSQL&lt;/a&gt; - Data migration&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3 id=&#34;speaking--presentations&#34;&gt;Speaking &amp;amp; Presentations&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://ftisiot.net/talks&#34;&gt;Talks&lt;/a&gt; - Conference presentations and talks&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://ftisiot.net/slides&#34;&gt;Slides&lt;/a&gt; - Presentation materials and resources&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;quick-navigation&#34;&gt;Quick Navigation&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://ftisiot.net/posts&#34;&gt;All Posts&lt;/a&gt; - Complete blog archive&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://ftisiot.net/categories&#34;&gt;All Categories&lt;/a&gt; - Browse by topic&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://ftisiot.net/tags&#34;&gt;All Tags&lt;/a&gt; - Browse by keyword&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://ftisiot.net/search&#34;&gt;Search&lt;/a&gt; - Find specific content&lt;/li&gt;&#xA;&lt;/ul&gt;</description>
703+
</item>
697704
</channel>
698705
</rss>

postgresqljson/how-to-build-json-array-from-elements-postgresql/index.html

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,14 @@
66

77
<title>How to build a JSON array from a list of elements in PostgreSQL® | ftisiot ideas about tech, food and life</title>
88
<meta name="viewport" content="width=device-width,minimum-scale=1">
9-
<meta name="description" content="PostgreSQL® offers two types of data types to handle JSON data, JSON and JSONB, you can use the function json_build_array (jsonb_build_array for JSONB) to create a JSON array from a list of elements.">
9+
<meta name="description" content="Learn how to create JSON arrays from elements in PostgreSQL using json_build_array and jsonb_build_array functions. Complete tutorial with examples and best practices.">
1010
<meta name="generator" content="Hugo 0.140.2">
1111

1212

1313

1414
<meta name="robots" content="index, follow">
1515

16+
<meta name="author" content="Francesco Tisiot">
1617

1718

1819

@@ -38,22 +39,22 @@
3839
<meta property="og:url" content="https://ftisiot.net/postgresqljson/how-to-build-json-array-from-elements-postgresql/">
3940
<meta property="og:site_name" content="ftisiot ideas about tech, food and life">
4041
<meta property="og:title" content="How to build a JSON array from a list of elements in PostgreSQL®">
41-
<meta property="og:description" content="PostgreSQL® offers two types of data types to handle JSON data, JSON and JSONB, you can use the function json_build_array (jsonb_build_array for JSONB) to create a JSON array from a list of elements.">
42+
<meta property="og:description" content="Learn how to create JSON arrays from elements in PostgreSQL using json_build_array and jsonb_build_array functions. Complete tutorial with examples and best practices.">
4243
<meta property="og:locale" content="en_us">
4344
<meta property="og:type" content="article">
4445
<meta property="article:section" content="postgresqljson">
4546
<meta property="article:published_time" content="2023-01-09T17:14:22+01:00">
4647
<meta property="article:modified_time" content="2023-01-09T17:14:22+01:00">
4748

4849
<meta itemprop="name" content="How to build a JSON array from a list of elements in PostgreSQL®">
49-
<meta itemprop="description" content="PostgreSQL® offers two types of data types to handle JSON data, JSON and JSONB, you can use the function json_build_array (jsonb_build_array for JSONB) to create a JSON array from a list of elements.">
50+
<meta itemprop="description" content="Learn how to create JSON arrays from elements in PostgreSQL using json_build_array and jsonb_build_array functions. Complete tutorial with examples and best practices.">
5051
<meta itemprop="datePublished" content="2023-01-09T17:14:22+01:00">
5152
<meta itemprop="dateModified" content="2023-01-09T17:14:22+01:00">
5253
<meta itemprop="wordCount" content="120">
5354
<meta itemprop="keywords" content="PostgreSQL,JSON,Jsonb,Elements,Array">
5455
<meta name="twitter:card" content="summary">
5556
<meta name="twitter:title" content="How to build a JSON array from a list of elements in PostgreSQL®">
56-
<meta name="twitter:description" content="PostgreSQL® offers two types of data types to handle JSON data, JSON and JSONB, you can use the function json_build_array (jsonb_build_array for JSONB) to create a JSON array from a list of elements.">
57+
<meta name="twitter:description" content="Learn how to create JSON arrays from elements in PostgreSQL using json_build_array and jsonb_build_array functions. Complete tutorial with examples and best practices.">
5758

5859

5960
<script async src="https://www.googletagmanager.com/gtag/js?id=G-7Z74BTZ0TM"></script>
@@ -132,6 +133,10 @@
132133

133134
<div class="f2 f1-l fw2 white-90 mb0 lh-title">How to build a JSON array from a list of elements in PostgreSQL®</div>
134135

136+
<div class="fw1 f5 f3-l white-80 measure-wide-l center lh-copy mt3 mb4">
137+
Learn how to create JSON arrays from elements in PostgreSQL using json_build_array and jsonb_build_array functions. Complete tutorial with examples and best practices.
138+
</div>
139+
135140

136141
</div>
137142
</div>
@@ -151,6 +156,9 @@
151156
</aside><div id="sharing" class="mt3 ananke-socials"></div>
152157
<h1 class="f1 athelas mt3 mb1">How to build a JSON array from a list of elements in PostgreSQL®</h1>
153158

159+
<p class="tracked"><strong>Francesco Tisiot</strong>
160+
</p>
161+
154162

155163

156164
<time class="f6 mv4 dib tracked" datetime="2023-01-09T17:14:22+01:00">January 9, 2023</time>

0 commit comments

Comments
 (0)