xn-model 1.0.21__py3-none-any.whl → 1.0.22__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- x_model/field.py +7 -7
- {xn_model-1.0.21.dist-info → xn_model-1.0.22.dist-info}/METADATA +1 -1
- {xn_model-1.0.21.dist-info → xn_model-1.0.22.dist-info}/RECORD +5 -5
- {xn_model-1.0.21.dist-info → xn_model-1.0.22.dist-info}/WHEEL +0 -0
- {xn_model-1.0.21.dist-info → xn_model-1.0.22.dist-info}/top_level.txt +0 -0
x_model/field.py
CHANGED
|
@@ -12,8 +12,8 @@ class UniqBinaryField(BinaryField):
|
|
|
12
12
|
indexable = True
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
class UInt1Field(
|
|
16
|
-
SQL_TYPE = "UINT2
|
|
15
|
+
class UInt1Field(SmallIntField):
|
|
16
|
+
SQL_TYPE = "SMALLINT" # UINT2
|
|
17
17
|
|
|
18
18
|
@property
|
|
19
19
|
def constraints(self) -> dict:
|
|
@@ -24,7 +24,7 @@ class UInt1Field(IntField):
|
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
class UInt2Field(IntField):
|
|
27
|
-
SQL_TYPE = "UINT2
|
|
27
|
+
SQL_TYPE = "INT" # UINT2
|
|
28
28
|
|
|
29
29
|
@property
|
|
30
30
|
def constraints(self) -> dict:
|
|
@@ -34,8 +34,8 @@ class UInt2Field(IntField):
|
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
class UIntField(
|
|
38
|
-
SQL_TYPE = "UINT4
|
|
37
|
+
class UIntField(BigIntField):
|
|
38
|
+
SQL_TYPE = "BIGINT" # UINT4
|
|
39
39
|
|
|
40
40
|
@property
|
|
41
41
|
def constraints(self) -> dict:
|
|
@@ -46,7 +46,7 @@ class UIntField(IntField):
|
|
|
46
46
|
|
|
47
47
|
|
|
48
48
|
class UInt8Field(BigIntField):
|
|
49
|
-
SQL_TYPE = "UINT8
|
|
49
|
+
SQL_TYPE = "BIGINT" # UINT8
|
|
50
50
|
|
|
51
51
|
@property
|
|
52
52
|
def constraints(self) -> dict:
|
|
@@ -57,7 +57,7 @@ class UInt8Field(BigIntField):
|
|
|
57
57
|
|
|
58
58
|
|
|
59
59
|
class UInt16Field(BigIntField):
|
|
60
|
-
SQL_TYPE = "UINT16
|
|
60
|
+
SQL_TYPE = "BIGINT" # UINT16
|
|
61
61
|
|
|
62
62
|
@property
|
|
63
63
|
def constraints(self) -> dict:
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
x_model/__init__.py,sha256=1Lgvr-SZwkM4R7L0ceVLyArzzMJiFLgaid-RUOk_ypM,344
|
|
2
|
-
x_model/field.py,sha256=
|
|
2
|
+
x_model/field.py,sha256=C2eV5-FIWsMVknuQSUr9i8NjrScwvuEIuoPQik2qdd8,3866
|
|
3
3
|
x_model/func.py,sha256=flj89sCOou7NJlriPYbIpX8rdbugbe-vjT2C0ORl9DY,312
|
|
4
4
|
x_model/models.py,sha256=Pdkcemb2jSFU0x7YSz9nWVmoGyShF-TzAo2SOUjVbvM,3793
|
|
5
5
|
x_model/types.py,sha256=CITb6DSLZ3KHmEgQRjZCFRUId4x-_pecwZdh6xXt0HE,339
|
|
6
|
-
xn_model-1.0.
|
|
7
|
-
xn_model-1.0.
|
|
8
|
-
xn_model-1.0.
|
|
9
|
-
xn_model-1.0.
|
|
6
|
+
xn_model-1.0.22.dist-info/METADATA,sha256=uL5UvNS6UxzOZy4ZfxVm1lbYL3FT1SsFM4CxaLrWDpM,986
|
|
7
|
+
xn_model-1.0.22.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
8
|
+
xn_model-1.0.22.dist-info/top_level.txt,sha256=QCYyfv5AA_8jPPtCpShkBXzQRUCGuuW7Ro0mqysDE8E,8
|
|
9
|
+
xn_model-1.0.22.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|