Loading topic
json and jsonb. Both accept JSON objects, arrays, strings, numbers, booleans, and null. The important difference is how PostgreSQL stores and processes the value after it receives it.3 min readSELECT, INSERT, UPDATE, WHERE, and JOIN statements. You should also understand JSON objects, arrays, strings, numbers, booleans, and null. The examples use PostgreSQL 12 or later.2 min readSELECT, WHERE, and basic PostgreSQL types. You should also know that JSON objects contain key-value pairs and JSON arrays contain ordered values. The examples use PostgreSQL's jsonb type.2 min readSELECT, WHERE, and JOIN syntax, and that the orders table from the previous chapter exists with a jsonb column named details. The examples use documents shaped like this:2 min readSELECT, joins, aliases, and basic JSON syntax. The examples use the orders table from the earlier setup, where details is a jsonb column containing an items array and a shipping object.2 min readjsonb column. This chapter uses the orders table from earlier examples, where customer is a SQL column and details stores order data as JSONB.2 min readSELECT, UPDATE, WHERE, and PostgreSQL jsonb syntax. It also assumes the orders table from the earlier examples, with a details jsonb column.2 min readSELECT statements, WHERE clauses, and CREATE INDEX. You should also understand that jsonb stores JSON data in a binary format that PostgreSQL can inspect and index.3 min readSELECT, WHERE, joins, PostgreSQL data types, and JSON objects and arrays. It also assumes an orders table with a jsonb column named details. SQL/JSON path is useful when a document has several nested levels or when ordinary operators become hard to read.2 min readCREATE TABLE, INSERT, and SELECT statements, and that you understand JSON objects, arrays, strings, and numbers. This chapter uses PostgreSQL's jsonb type.2 min readSELECT, INSERT, UPDATE, WHERE, and JOIN statements. You should also understand PostgreSQL data types and basic JSON objects and arrays. The examples use PostgreSQL's jsonb type.3 min readSELECT, JOIN, and WHERE usage, PostgreSQL types, and JSON syntax. You should also recognize jsonb access operators and SQL/JSON path expressions such as $.items[*].sku.2 min read