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

UniqueConstraint¶

pydantic model felis.datamodel.UniqueConstraint¶

Table unique constraint model.

Parameters:

data (Any)

Fields:
  • columns (list[str])

  • type (Literal['Unique'])

Validators:

field columns: list[str] [Required]¶

Columns in the unique constraint.

Validated by:
  • check_deferrable

  • check_description

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

Type of the constraint.

Validated by:
  • check_deferrable

  • check_description

previous

Table

next

get_datatype_with_variants

On this page
  • UniqueConstraint
    • UniqueConstraint.columns
    • UniqueConstraint.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.