• Blog
  • Docs
  • Pricing
11.6k
11.6kLog inGet Started
  1. Glossary
  2. /
  3. Core Database
  4. /
  5. Constraint

Constraint

Core Database

A rule enforced by the database to maintain data integrity. Types include: PRIMARY KEY, FOREIGN KEY, UNIQUE, CHECK, NOT NULL, and EXCLUDE. Constraints are evaluated on every insert, update, or delete that affects the constrained columns.

Related terms

Primary KeyForeign KeyUnique Constraint
← Back to glossary

The Postgres platform for agent-led development.

TwitterBlueskyLinkedInYouTubeContact us

Product

BranchingStorageScale-to-ZeroMigrationsBYOC

Solutions

Platforms & PartnersAI & ML TeamsEnterprise EngProduction Postgres

Open Source

OverviewGitHub

Developers

DocsGlossaryStatusSupport

Company

AboutBlogCareersBrandPricing

© Copyright 2026 Xatabase Inc. All Rights Reserved.

Privacy PolicySecurityTerms of Use