ftisiot ideas about food and life
who talks suggestions json-pg json-mysql

json

Jul 21, 2023

How to extract a field from a JSON object in MySQL

MySQL® offers three ways to extract fields from a JSON object:

  • the -> operator to extract the field as JSON
  • the ->> operator to extract the field as text
  • the JSON_EXTRACT function

Both operators use the JSON Path Syntax

Continue Reading

Jul 21, 2023

How to load JSON data in MySQL?

To load JSON data into a MySQL column you need to include it as string.

Continue Reading

Jul 21, 2023

How to JSON in MySQL

This series covers how to solve common problems on JSON datasets with MySQL and it includes (links will appear once the target pages are up):

Continue Reading

Mar 1, 2023

How to load JSON data in PostgreSQL®?

PostgreSQL® offers two types of data types to handle JSON data, JSON and JSONB. This doc showcases how to load JSON data into a column.

Continue Reading

Jan 12, 2023

How to tabulate a JSON to a record in PostgreSQL®

PostgreSQL® offers two types of data types to handle JSON data, JSON and JSONB, and provides two different ways to tabulate a JSON to a record:

Continue Reading

Jan 12, 2023

How to tabulate a JSON to a recordset in PostgreSQL®

PostgreSQL® offers two types of data types to handle JSON data, JSON and JSONB, and provides two different ways to tabulate a JSON to a recordset:

Continue Reading

Jan 10, 2023

How to edit a JSON object in PostgreSQL®?

PostgreSQL® offers two types of data types to handle JSON data, JSON and JSONB, you can use the jsonb_set function to remove the null values for JSONB columns.

Continue Reading

Jan 10, 2023

How to remove an item from a JSON array in PostgreSQL®?

PostgreSQL® offers two types of data types to handle JSON data, JSON and JSONB, you can use the - operator to remove an item from an array.

Continue Reading

Jan 10, 2023

How to remove fields from a JSON document in PostgreSQL®?

PostgreSQL® offers two types of data types to handle JSON data, JSON and JSONB, and provides two different ways to remove fields from a JSON document:

Continue Reading

Jan 10, 2023

How to remove nulls JSON object in PostgreSQL®?

PostgreSQL® offers two types of data types to handle JSON data, JSON and JSONB, you can use the json_strip_nulls (jsonb_strip_nulls for JSONB) function to remove the null values.

Continue Reading


Francesco Tisiot

Mastodon Francesco comes from Verona, Italy 🇮🇹 and works as a Staff Developer Advocate at Aiven. With his many years of experience as a data analyst, he has stories to tell and advice for data-wranglers everywhere. Francesco loves sharing knowledge with others as a speaker and writer, and is on a mission to defend the world from bad Italian food!!

  • ««
  • «
  • 1
  • 2
  • 3
  • 4
  • »
  • »»

Story logo

© 2024