• Blog
  • Docs
  • Pricing
12.0k
12.0kLog 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

Branch-native Postgres

TwitterBlueskyLinkedInYouTubeContact us

Product

BranchingStorageScale-to-ZeroBYOC

Solutions

ProductionCI/CDAgent Sandboxes

Resources

Xata vs NeonGlossaryGitHub

Developers

DocsOpen SourceStatusSupport

Company

AboutBlogCareersBrand

© Copyright 2026 Xatabase Inc. All Rights Reserved.

Privacy PolicySecurityTerms of Use