MCPcopy Create free account
hub / github.com/tortoise/tortoise-orm / constraints

Method constraints

tortoise/fields/data.py:128–132  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

126
127 @property
128 def constraints(self) -> dict:
129 return {
130 "ge": -2147483648,
131 "le": 2147483647,
132 }
133
134 class _db_postgres:
135 GENERATED_SQL = "SERIAL NOT NULL PRIMARY KEY"

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected