Loading topic
SELECT, INSERT, CREATE TABLE, and basic constraints. It focuses on PostgreSQL integer types and automatically generated identifiers.2 min readSELECT expressions and can create tables. This chapter focuses on PostgreSQL's numeric type for values where decimal accuracy matters, such as prices, tax rates, measurements, and account balances.1 min readSELECT, CREATE TABLE, and PostgreSQL casts. This chapter focuses on real and double precision, which store approximate numbers.1 min readSELECT, INSERT, and CREATE TABLE, plus familiarity with columns and constraints. PostgreSQL provides three closely related character types:2 min readSELECT, INSERT, CREATE TABLE, and basic constraints. It also assumes you can run queries in psql or another PostgreSQL client.2 min readSELECT, INSERT, and CREATE TABLE, and that you can run queries in PostgreSQL. PostgreSQL provides separate types for calendar dates, clock times, moments in time, and lengths of time. Choosing the correct type prevents timezone and arithmetic errors.1 min readSELECT statements and understand tables, columns, and constraints. This chapter shows how PostgreSQL converts a value from one data type to another.2 min readSELECT and INSERT statements. This chapter focuses on choosing and using PostgreSQL's uuid type for identifiers.2 min readSELECT, INSERT, CREATE TABLE, and basic constraints. This chapter focuses on PostgreSQL's jsonb type and the operators used to store and query data whose shape can vary.1 min readSELECT and INSERT statements. An array is a single column value that contains multiple values of one PostgreSQL type. Arrays are useful for small, naturally grouped lists, such as product tags or a user's preferred languages.1 min readCREATE TYPE, CREATE TABLE, SELECT, and column constraints.2 min readSELECT, INSERT, CREATE TABLE, and constraints. It also assumes you can run queries in PostgreSQL. A range type stores a continuous span of values, such as dates, numbers, or timestamps, in one column.2 min readSELECT, INSERT, and CREATE TABLE, and you can run queries in PostgreSQL. This chapter focuses on storing and retrieving raw binary bytes.2 min readSELECT and INSERT statements. This chapter shows how to package reusable rules and related fields into PostgreSQL types.2 min readSELECT, CREATE TABLE, constraints, and basic PostgreSQL client use. This chapter focuses on choosing and querying PostgreSQL network address types.1 min readSELECT, INSERT, and CREATE TABLE statements. This chapter focuses on choosing types that preserve meaning, enforce valid data, and support the queries your application needs.2 min read