reydb 1.2.14__py3-none-any.whl → 1.2.15__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.
reydb/rorm.py
CHANGED
@@ -251,11 +251,11 @@ class DatabaseORMModelField(DatabaseORMBase, FieldInfo):
|
|
251
251
|
re : Require the partial string if is match regular expression.
|
252
252
|
len_min : Require the sequence or string minimum length.
|
253
253
|
len_max : Require the sequence or string maximum length.
|
254
|
-
num_gt : Require the number greater than this value
|
255
|
-
num_lt : Require the number less than this value
|
256
|
-
num_ge : Require the number greater than and equal to this value
|
257
|
-
num_le : Require the number less than and equal to this value
|
258
|
-
num_multiple : Require the number to be multiple of this value
|
254
|
+
num_gt : Require the number greater than this value (i.e. `number > num_gt`).
|
255
|
+
num_lt : Require the number less than this value (i.e. `number < num_lt`).
|
256
|
+
num_ge : Require the number greater than and equal to this value (i.e. `number >= num_ge`).
|
257
|
+
num_le : Require the number less than and equal to this value (i.e. `number <= num_le`).
|
258
|
+
num_multiple : Require the number to be multiple of this value (i.e. `number % num_multiple == 0`).
|
259
259
|
num_places : Require the number digit places maximum length.
|
260
260
|
num_places_dec : Require the number decimal places maximum length.
|
261
261
|
**kwargs : Other key arguments.
|
@@ -362,6 +362,7 @@ model_metaclass: SQLModelMetaclass = DatabaseORMModelMeta
|
|
362
362
|
class DatabaseORMModel(DatabaseORMBase, SQLModel, metaclass=model_metaclass):
|
363
363
|
"""
|
364
364
|
Database ORM model type.
|
365
|
+
Based on `sqlalchemy` and `sqlmodel` package.
|
365
366
|
|
366
367
|
Examples
|
367
368
|
--------
|
@@ -1621,7 +1622,7 @@ class DatabaseORMStatementSelectSuper(DatabaseORMStatementSuper, Select):
|
|
1621
1622
|
|
1622
1623
|
Parameters
|
1623
1624
|
----------
|
1624
|
-
names : Field name.
|
1625
|
+
names : Field name. Note: primary key automatic add.
|
1625
1626
|
|
1626
1627
|
Returns
|
1627
1628
|
-------
|
@@ -1746,9 +1747,9 @@ class DatabaseORMStatementInsertSuper(DatabaseORMStatementSuper, Insert):
|
|
1746
1747
|
|
1747
1748
|
Parameters
|
1748
1749
|
----------
|
1749
|
-
names : Field name. One to one update to this field value
|
1750
|
-
values : Scalar value. One to many update to this value
|
1751
|
-
- `Empty`: All parameters omit. One to one update to all fields value
|
1750
|
+
names : Field name. One to one update to this field value (i.e. `field = VALUE(field)`).
|
1751
|
+
values : Scalar value. One to many update to this value (i.e. `field = :value`).
|
1752
|
+
- `Empty`: All parameters omit. One to one update to all fields value (i.e. `field = VALUE(field), ...`).
|
1752
1753
|
|
1753
1754
|
Returns
|
1754
1755
|
-------
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: reydb
|
3
|
-
Version: 1.2.
|
3
|
+
Version: 1.2.15
|
4
4
|
Summary: Database method set.
|
5
5
|
Project-URL: homepage, https://github.com/reyxbo/reydb/
|
6
6
|
Author-email: Rey <reyxbo@163.com>
|
@@ -12,7 +12,7 @@ License: Copyright 2025 ReyXBo
|
|
12
12
|
|
13
13
|
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
14
14
|
License-File: LICENSE
|
15
|
-
Keywords: database,db,rey,reyxbo
|
15
|
+
Keywords: async,asynchrouous,database,db,orm,rey,reyxbo
|
16
16
|
Requires-Python: >=3.12
|
17
17
|
Requires-Dist: aiomysql
|
18
18
|
Requires-Dist: pydantic
|
@@ -8,8 +8,8 @@ reydb/rdb.py,sha256=syyqZbEu92NbCj9O6_T6iAv7E46CyfQOC4T8qtPfHNs,14364
|
|
8
8
|
reydb/rerror.py,sha256=uwVuolRp-PmXXUZIA_Qd2S6NSOm1S0vDJvehX6l__U8,14888
|
9
9
|
reydb/rexec.py,sha256=HSu8fCgBjpKY1z6OJI6Ky_0sKMPEv_uCAEAcN7fd2i4,53028
|
10
10
|
reydb/rinfo.py,sha256=LjrqTA7JJbWJsjXwV-zKpbE1htv-whg6239hoQj4yIU,18151
|
11
|
-
reydb/rorm.py,sha256=
|
12
|
-
reydb-1.2.
|
13
|
-
reydb-1.2.
|
14
|
-
reydb-1.2.
|
15
|
-
reydb-1.2.
|
11
|
+
reydb/rorm.py,sha256=Iv_GGaQfR34UvwLQin4rDeI-lxOrUxRTcZRDmhizR-8,50841
|
12
|
+
reydb-1.2.15.dist-info/METADATA,sha256=oa2AKyGab8pUTwk3lnkWhlBc38NES1B_hQGENh3o28A,1645
|
13
|
+
reydb-1.2.15.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
14
|
+
reydb-1.2.15.dist-info/licenses/LICENSE,sha256=UYLPqp7BvPiH8yEZduJqmmyEl6hlM3lKrFIefiD4rvk,1059
|
15
|
+
reydb-1.2.15.dist-info/RECORD,,
|
File without changes
|
File without changes
|