Database.Guide

Skip to content

Beginners

  • What is a Database?
  • Database Tutorial

SQL

  • SQL Tutorial
  • SQL Reference
  • SQL Joins Tutorial
  • SQL Transactions Tutorial
  • Basic SQL Queries

Categories

  • Azure SQL Edge (17)
  • Database Concepts (99)
  • Database Tools (72)
  • DBMS (9)
  • DuckDB (152)
  • MariaDB (424)
  • Microsoft Access (17)
  • MongoDB (265)
  • MySQL (602)
  • NoSQL (8)
  • Oracle (301)
  • PostgreSQL (480)
  • Redis (210)
  • SQL (697)
  • SQL Server (1,170)
  • SQLite (299)

Tag: json

MariaDB JSON Functions

Posted on July 29, 2021 by Ian

Below is a list of the JSON functions available in MariaDB.

Continue reading →
MariaDB functions, json

MariaDB JSON_VALID() Explained

Posted on July 14, 2021 by Ian

In MariaDB, JSON_VALID() is a built-in function that allows you to check whether or not a value is a valid JSON document.

You pass the value as an argument, and JSON_VALID() returns 1 if it’s a valid JSON document, and 0 if not.

Continue reading →
MariaDB functions, json, what is

MariaDB JSON_UNQUOTE() Explained

Posted on July 13, 2021 by Ian

In MariaDB, JSON_UNQUOTE() is a built-in function that removes quotes from a JSON value. In other words, it “unquotes” a JSON value.

Continue reading →
MariaDB functions, json, what is

MariaDB JSON_TYPE() Explained

Posted on July 13, 2021 by Ian

In MariaDB, JSON_TYPE() is a built-in function that returns the type of a JSON value, as a string. 

Continue reading →
MariaDB functions, json, what is

MariaDB JSON_SEARCH() Explained

Posted on July 12, 2021 by Ian

In MariaDB, JSON_SEARCH() is a built-in function that allows you to get the path to a given value in a JSON document.

It accepts the JSON document and a string as arguments, and returns the path to the given string within the document.

Continue reading →
MariaDB functions, json, what is

MariaDB JSON_REMOVE() Explained

Posted on July 12, 2021 by Ian

In MariaDB, JSON_REMOVE() is a built-in function that removes data from a JSON document and returns the result. 

Continue reading →
MariaDB functions, json, what is

MariaDB JSON_QUOTE() Explained

Posted on July 10, 2021 by Ian

In MariaDB, JSON_QUOTE() is a built-in function that produces a valid JSON string literal that can be included in a JSON document. 

It wraps the string with double quote characters and escapes interior quotes and other special characters, returning a utf8mb4 string.

Continue reading →
MariaDB functions, json, what is

MariaDB JSON_LOOSE() Explained

Posted on July 10, 2021 by Ian

In MariaDB, JSON_LOOSE() is a built-in function that adds spaces to a JSON document to make it more readable.

It’s similar to the JSON_DETAILED() function, except that it doesn’t emphasise nested structures in the way that JSON_DETAILED() does.

For the opposite effect (i.e. to remove unnecessary spaces), use the JSON_COMPACT() function.

Continue reading →
MariaDB functions, json, what is

MariaDB JSON_LENGTH() Explained

Posted on July 9, 2021 by Ian

In MariaDB, JSON_LENGTH() is a built-in function that returns the length of a JSON document.

When you call this function, you provide the JSON document as an argument. You can also provide a path argument to return the length of a value within the document.

Continue reading →
MariaDB functions, json, what is

MariaDB JSON_KEYS() Explained

Posted on July 9, 2021 by Ian

In MariaDB, JSON_KEYS() is a built-in function that returns an array of the top-level keys from a JSON document. If a path is provided, it returns the top-level keys from that path.

It excludes keys from nested sub-objects in the specified level.

Also, if the selected object is empty, an empty array is returned.

Continue reading →
MariaDB functions, json, what is
  • «
  • 1
  • …
  • 6
  • 7
  • 8
  • 9
  • 10
  • …
  • 16
  • »

About Database.Guide | Privacy Policy