• Blog
  • Docs
  • Pricing
12.2k
Log inSign up
  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

Envelope

Product

  • Instant Provisioning
  • Branching
  • Scale-to-Zero
  • Data Anonymization
  • Schema Changes
  • BYOC

Solutions

  • Production
  • Previews
  • Pull Requests
  • CI/CD
  • AI Agents
  • Platforms

Resources

  • Xata vs Neon
  • Glossary
  • GitHub

Developers

  • Docs
  • Open Source
  • Status
  • Support

Company

  • About
  • Blog
  • Careers
  • Brand

© Copyright 2026 Xatabase Inc. All Rights Reserved.

Privacy PolicySecurityTerms of Use