|
6 | 6 |
|
7 | 7 | <title>How to build a JSON array from a list of elements in PostgreSQL® | ftisiot ideas about tech, food and life</title> |
8 | 8 | <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."> |
10 | 10 | <meta name="generator" content="Hugo 0.140.2"> |
11 | 11 |
|
12 | 12 |
|
13 | 13 |
|
14 | 14 | <meta name="robots" content="index, follow"> |
15 | 15 |
|
| 16 | + <meta name="author" content="Francesco Tisiot"> |
16 | 17 |
|
17 | 18 |
|
18 | 19 |
|
|
38 | 39 | <meta property="og:url" content="https://ftisiot.net/postgresqljson/how-to-build-json-array-from-elements-postgresql/"> |
39 | 40 | <meta property="og:site_name" content="ftisiot ideas about tech, food and life"> |
40 | 41 | <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."> |
42 | 43 | <meta property="og:locale" content="en_us"> |
43 | 44 | <meta property="og:type" content="article"> |
44 | 45 | <meta property="article:section" content="postgresqljson"> |
45 | 46 | <meta property="article:published_time" content="2023-01-09T17:14:22+01:00"> |
46 | 47 | <meta property="article:modified_time" content="2023-01-09T17:14:22+01:00"> |
47 | 48 |
|
48 | 49 | <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."> |
50 | 51 | <meta itemprop="datePublished" content="2023-01-09T17:14:22+01:00"> |
51 | 52 | <meta itemprop="dateModified" content="2023-01-09T17:14:22+01:00"> |
52 | 53 | <meta itemprop="wordCount" content="120"> |
53 | 54 | <meta itemprop="keywords" content="PostgreSQL,JSON,Jsonb,Elements,Array"> |
54 | 55 | <meta name="twitter:card" content="summary"> |
55 | 56 | <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."> |
57 | 58 |
|
58 | 59 |
|
59 | 60 | <script async src="https://www.googletagmanager.com/gtag/js?id=G-7Z74BTZ0TM"></script> |
|
132 | 133 |
|
133 | 134 | <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> |
134 | 135 |
|
| 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 | + |
135 | 140 |
|
136 | 141 | </div> |
137 | 142 | </div> |
|
151 | 156 | </aside><div id="sharing" class="mt3 ananke-socials"></div> |
152 | 157 | <h1 class="f1 athelas mt3 mb1">How to build a JSON array from a list of elements in PostgreSQL®</h1> |
153 | 158 |
|
| 159 | + <p class="tracked"><strong>Francesco Tisiot</strong> |
| 160 | + </p> |
| 161 | + |
154 | 162 |
|
155 | 163 |
|
156 | 164 | <time class="f6 mv4 dib tracked" datetime="2023-01-09T17:14:22+01:00">January 9, 2023</time> |
|
0 commit comments