Skip to main content
Ctrl+K
Logo image Logo image

Felis

Site Navigation

  • User Guide
  • Python API
  • Change Log
  • Rubin docs

Site Navigation

  • User Guide
  • Python API
  • Change Log
  • Rubin docs

Section Navigation

  • BaseObject
  • Column
  • CheckConstraint
  • Constraint
  • ForeignKeyConstraint
  • Index
  • Schema
  • SchemaVersion
  • Table
  • UniqueConstraint
  • get_datatype_with_variants
  • MetaDataBuilder
  • init_tables
  • TapLoadingVisitor
  • FelisType
  • Boolean
  • Byte
  • Short
  • Int
  • Long
  • Float
  • Double
  • Char
  • String
  • Unicode
  • Text
  • Binary
  • Timestamp
  • get_supported_dialects
  • get_dialect_module
  • boolean
  • byte
  • short
  • int
  • long
  • float
  • double
  • char
  • string
  • unicode
  • text
  • binary
  • timestamp
  • get_type_func
  • string_to_typeengine
  • SQLWriter
  • ConnectionWrapper
  • DatabaseContext
  • make_variant_dict
  • setup_postgres_test_db
  • TemporaryPostgresInstance

CheckConstraint¶

pydantic model felis.datamodel.CheckConstraint¶

Table check constraint model.

Parameters:

data (Any)

Fields:
  • expression (str)

  • type (Literal['Check'])

Validators:

field expression: str [Required]¶

Expression for the check constraint.

Validated by:
  • check_deferrable

  • check_description

field type: Literal['Check'] = 'Check' (alias '@type')¶

Type of the constraint.

Validated by:
  • check_deferrable

  • check_description

previous

Column

next

Constraint

On this page
  • CheckConstraint
    • CheckConstraint.expression
    • CheckConstraint.type
Edit this page

© Copyright 2018-2024 The Board of Trustees of the Leland Stanford Junior University, through SLAC National Accelerator Laboratory.

Built with the PyData Sphinx Theme 0.12.0.

Created using Sphinx 8.0.2.