reydb 1.2.17__py3-none-any.whl → 1.2.19__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/rbuild.py +0 -1480
- reydb/rconfig.py +15 -5
- reydb/rdb.py +49 -1
- reydb/rerror.py +15 -5
- reydb/rexec.py +0 -1
- reydb/rorm.py +75 -113
- {reydb-1.2.17.dist-info → reydb-1.2.19.dist-info}/METADATA +1 -1
- reydb-1.2.19.dist-info/RECORD +15 -0
- reydb-1.2.17.dist-info/RECORD +0 -15
- {reydb-1.2.17.dist-info → reydb-1.2.19.dist-info}/WHEEL +0 -0
- {reydb-1.2.17.dist-info → reydb-1.2.19.dist-info}/licenses/LICENSE +0 -0
reydb/rorm.py
CHANGED
@@ -303,11 +303,9 @@ class DatabaseORMModelField(DatabaseORMBase, FieldInfo):
|
|
303
303
|
kwargs['alias'] = kwargs['sa_column_kwargs']['name'] = kwargs.pop('field_name')
|
304
304
|
|
305
305
|
## Key auto.
|
306
|
-
if kwargs.
|
307
|
-
kwargs['sa_column_kwargs']['autoincrement'] = True
|
306
|
+
if kwargs.pop('key_auto', False):
|
308
307
|
kwargs['primary_key'] = True
|
309
|
-
|
310
|
-
kwargs['sa_column_kwargs']['autoincrement'] = False
|
308
|
+
kwargs['sa_column_kwargs']['autoincrement'] = True
|
311
309
|
|
312
310
|
## Key.
|
313
311
|
if kwargs.get('primary_key'):
|
@@ -336,7 +334,11 @@ class DatabaseORMModelField(DatabaseORMBase, FieldInfo):
|
|
336
334
|
## Argument default.
|
337
335
|
arg_default = kwargs.pop('arg_default', Null)
|
338
336
|
if arg_default == Null:
|
339
|
-
if
|
337
|
+
if (
|
338
|
+
kwargs['nullable']
|
339
|
+
or kwargs['sa_column_kwargs'].get('autoincrement')
|
340
|
+
or kwargs['sa_column_kwargs'].get('server_default') is not None
|
341
|
+
):
|
340
342
|
kwargs['default'] = None
|
341
343
|
elif callable(arg_default):
|
342
344
|
kwargs['default_factory'] = arg_default
|
@@ -560,32 +562,12 @@ class DatabaseORMSuper(DatabaseORMBase, Generic[DatabaseT, DatabaseORMSessionT])
|
|
560
562
|
class DatabaseORM(DatabaseORMSuper['rdb.Database', 'DatabaseORMSession']):
|
561
563
|
"""
|
562
564
|
Database ORM type.
|
563
|
-
|
564
|
-
Attributes
|
565
|
-
----------
|
566
|
-
metaData : Registry metadata instance.
|
567
|
-
DatabaseModel : Database ORM model type.
|
568
|
-
Field : Database ORM model field type.
|
569
|
-
Config : Database ORM model config type.
|
570
|
-
types : Database ORM model filed types module.
|
571
|
-
wrap_validate_model : Create decorator of validate database ORM model.
|
572
|
-
wrap_validate_filed : Create decorator of validate database ORM model field.
|
573
565
|
"""
|
574
566
|
|
575
567
|
|
576
568
|
class DatabaseORMAsync(DatabaseORMSuper['rdb.DatabaseAsync', 'DatabaseORMSessionAsync']):
|
577
569
|
"""
|
578
570
|
Asynchronous database ORM type.
|
579
|
-
|
580
|
-
Attributes
|
581
|
-
----------
|
582
|
-
metaData : Registry metadata instance.
|
583
|
-
DatabaseModel : Database ORM model type.
|
584
|
-
Field : Database ORM model field type.
|
585
|
-
Config : Database ORM model config type.
|
586
|
-
types : Database ORM model filed types module.
|
587
|
-
wrap_validate_model : Create decorator of validate database ORM model.
|
588
|
-
wrap_validate_filed : Create decorator of validate database ORM model field.
|
589
571
|
"""
|
590
572
|
|
591
573
|
|
@@ -623,7 +605,7 @@ class DatabaseORMSessionSuper(
|
|
623
605
|
# Build.
|
624
606
|
self.orm = orm
|
625
607
|
self.autocommit = autocommit
|
626
|
-
self.
|
608
|
+
self.session: SessionT | None = None
|
627
609
|
self.begin: SessionTransactionT | None = None
|
628
610
|
|
629
611
|
|
@@ -794,10 +776,10 @@ class DatabaseORMSession(
|
|
794
776
|
"""
|
795
777
|
|
796
778
|
# Create.
|
797
|
-
if self.
|
798
|
-
self.
|
779
|
+
if self.session is None:
|
780
|
+
self.session = Session(self.orm.db.engine)
|
799
781
|
|
800
|
-
return self.
|
782
|
+
return self.session
|
801
783
|
|
802
784
|
|
803
785
|
def get_begin(self) -> SessionTransaction:
|
@@ -848,9 +830,18 @@ class DatabaseORMSession(
|
|
848
830
|
if self.begin is not None:
|
849
831
|
self.begin.close()
|
850
832
|
self.begin = None
|
851
|
-
if self.
|
852
|
-
self.
|
853
|
-
self.
|
833
|
+
if self.session is not None:
|
834
|
+
self.session.close()
|
835
|
+
self.session = None
|
836
|
+
|
837
|
+
|
838
|
+
def flush(self) -> None:
|
839
|
+
"""
|
840
|
+
Send execution to database, can refresh increment primary key attribute value of model.
|
841
|
+
"""
|
842
|
+
|
843
|
+
# Send.
|
844
|
+
self.session.flush()
|
854
845
|
|
855
846
|
|
856
847
|
def wrap_transact(method: CallableT) -> CallableT:
|
@@ -867,17 +858,16 @@ class DatabaseORMSession(
|
|
867
858
|
"""
|
868
859
|
|
869
860
|
|
870
|
-
# Define.
|
871
861
|
@functools_wraps(method)
|
872
862
|
def wrap(self: 'DatabaseORMSession', *args, **kwargs):
|
873
863
|
|
874
864
|
# Session.
|
875
|
-
if self.
|
876
|
-
self.
|
865
|
+
if self.session is None:
|
866
|
+
self.session = Session(self.orm.db.engine)
|
877
867
|
|
878
868
|
# Begin.
|
879
869
|
if self.begin is None:
|
880
|
-
self.begin = self.
|
870
|
+
self.begin = self.session.begin()
|
881
871
|
|
882
872
|
# Execute.
|
883
873
|
result = method(self, *args, **kwargs)
|
@@ -973,14 +963,14 @@ class DatabaseORMSession(
|
|
973
963
|
model = type(model)
|
974
964
|
|
975
965
|
# Get.
|
976
|
-
result = self.
|
966
|
+
result = self.session.get(model, key)
|
977
967
|
|
978
968
|
# Autucommit.
|
979
969
|
if (
|
980
970
|
self.autocommit
|
981
971
|
and result is not None
|
982
972
|
):
|
983
|
-
self.
|
973
|
+
self.session.expunge(result)
|
984
974
|
|
985
975
|
return result
|
986
976
|
|
@@ -1010,7 +1000,7 @@ class DatabaseORMSession(
|
|
1010
1000
|
results = [
|
1011
1001
|
result
|
1012
1002
|
for key in keys
|
1013
|
-
if (result := self.
|
1003
|
+
if (result := self.session.get(model, key)) is not None
|
1014
1004
|
]
|
1015
1005
|
|
1016
1006
|
return results
|
@@ -1036,7 +1026,7 @@ class DatabaseORMSession(
|
|
1036
1026
|
|
1037
1027
|
# Get.
|
1038
1028
|
select = Select(model)
|
1039
|
-
models = self.
|
1029
|
+
models = self.session.exec(select)
|
1040
1030
|
models = list(models)
|
1041
1031
|
|
1042
1032
|
return models
|
@@ -1053,7 +1043,7 @@ class DatabaseORMSession(
|
|
1053
1043
|
"""
|
1054
1044
|
|
1055
1045
|
# Add.
|
1056
|
-
self.
|
1046
|
+
self.session.add_all(models)
|
1057
1047
|
|
1058
1048
|
|
1059
1049
|
@wrap_transact
|
@@ -1068,7 +1058,7 @@ class DatabaseORMSession(
|
|
1068
1058
|
|
1069
1059
|
# Delete.
|
1070
1060
|
for model in models:
|
1071
|
-
self.
|
1061
|
+
self.session.delete(model)
|
1072
1062
|
|
1073
1063
|
|
1074
1064
|
@wrap_transact
|
@@ -1083,7 +1073,7 @@ class DatabaseORMSession(
|
|
1083
1073
|
|
1084
1074
|
# Refresh.
|
1085
1075
|
for model in models:
|
1086
|
-
self.
|
1076
|
+
self.session.refresh(model)
|
1087
1077
|
|
1088
1078
|
|
1089
1079
|
@wrap_transact
|
@@ -1098,7 +1088,7 @@ class DatabaseORMSession(
|
|
1098
1088
|
|
1099
1089
|
# Refresh.
|
1100
1090
|
for model in models:
|
1101
|
-
self.
|
1091
|
+
self.session.expire(model)
|
1102
1092
|
|
1103
1093
|
|
1104
1094
|
@overload
|
@@ -1167,10 +1157,10 @@ class DatabaseORMSessionAsync(
|
|
1167
1157
|
"""
|
1168
1158
|
|
1169
1159
|
# Create.
|
1170
|
-
if self.
|
1171
|
-
self.
|
1160
|
+
if self.session is None:
|
1161
|
+
self.session = AsyncSession(self.orm.db.engine)
|
1172
1162
|
|
1173
|
-
return self.
|
1163
|
+
return self.session
|
1174
1164
|
|
1175
1165
|
|
1176
1166
|
async def get_begin(self) -> AsyncSessionTransaction:
|
@@ -1221,9 +1211,18 @@ class DatabaseORMSessionAsync(
|
|
1221
1211
|
if self.begin is not None:
|
1222
1212
|
await self.begin.rollback()
|
1223
1213
|
self.begin = None
|
1224
|
-
if self.
|
1225
|
-
await self.
|
1226
|
-
self.
|
1214
|
+
if self.session is not None:
|
1215
|
+
await self.session.close()
|
1216
|
+
self.session = None
|
1217
|
+
|
1218
|
+
|
1219
|
+
async def flush(self) -> None:
|
1220
|
+
"""
|
1221
|
+
Asynchronous send execution to database, can refresh increment primary key attribute value of model.
|
1222
|
+
"""
|
1223
|
+
|
1224
|
+
# Send.
|
1225
|
+
await self.session.flush()
|
1227
1226
|
|
1228
1227
|
|
1229
1228
|
def wrap_transact(method: CallableT) -> CallableT:
|
@@ -1240,7 +1239,6 @@ class DatabaseORMSessionAsync(
|
|
1240
1239
|
"""
|
1241
1240
|
|
1242
1241
|
|
1243
|
-
# Define.
|
1244
1242
|
@functools_wraps(method)
|
1245
1243
|
async def wrap(self: 'DatabaseORMSessionAsync', *args, **kwargs):
|
1246
1244
|
|
@@ -1291,7 +1289,7 @@ class DatabaseORMSessionAsync(
|
|
1291
1289
|
throw(ValueError, tables)
|
1292
1290
|
|
1293
1291
|
# Create.
|
1294
|
-
conn = await self.
|
1292
|
+
conn = await self.session.connection()
|
1295
1293
|
await conn.run_sync(metadata.create_all, tables, skip)
|
1296
1294
|
|
1297
1295
|
|
@@ -1321,7 +1319,7 @@ class DatabaseORMSessionAsync(
|
|
1321
1319
|
throw(ValueError, tables)
|
1322
1320
|
|
1323
1321
|
# Drop.
|
1324
|
-
conn = await self.
|
1322
|
+
conn = await self.session.connection()
|
1325
1323
|
await conn.run_sync(metadata.drop_all, tables, skip)
|
1326
1324
|
|
1327
1325
|
|
@@ -1347,14 +1345,14 @@ class DatabaseORMSessionAsync(
|
|
1347
1345
|
model = type(model)
|
1348
1346
|
|
1349
1347
|
# Get.
|
1350
|
-
result = await self.
|
1348
|
+
result = await self.session.get(model, key)
|
1351
1349
|
|
1352
1350
|
# Autucommit.
|
1353
1351
|
if (
|
1354
1352
|
self.autocommit
|
1355
1353
|
and result is not None
|
1356
1354
|
):
|
1357
|
-
self.
|
1355
|
+
self.session.expunge(result)
|
1358
1356
|
|
1359
1357
|
return result
|
1360
1358
|
|
@@ -1384,7 +1382,7 @@ class DatabaseORMSessionAsync(
|
|
1384
1382
|
results = [
|
1385
1383
|
result
|
1386
1384
|
for key in keys
|
1387
|
-
if (result := await self.
|
1385
|
+
if (result := await self.session.get(model, key)) is not None
|
1388
1386
|
]
|
1389
1387
|
|
1390
1388
|
return results
|
@@ -1410,7 +1408,7 @@ class DatabaseORMSessionAsync(
|
|
1410
1408
|
|
1411
1409
|
# Get.
|
1412
1410
|
select = Select(model)
|
1413
|
-
models = await self.
|
1411
|
+
models = await self.session.exec(select)
|
1414
1412
|
models = list(models)
|
1415
1413
|
|
1416
1414
|
return models
|
@@ -1427,7 +1425,7 @@ class DatabaseORMSessionAsync(
|
|
1427
1425
|
"""
|
1428
1426
|
|
1429
1427
|
# Add.
|
1430
|
-
self.
|
1428
|
+
self.session.add_all(models)
|
1431
1429
|
|
1432
1430
|
|
1433
1431
|
@wrap_transact
|
@@ -1442,7 +1440,7 @@ class DatabaseORMSessionAsync(
|
|
1442
1440
|
|
1443
1441
|
# Delete.
|
1444
1442
|
for model in models:
|
1445
|
-
await self.
|
1443
|
+
await self.session.delete(model)
|
1446
1444
|
|
1447
1445
|
|
1448
1446
|
@wrap_transact
|
@@ -1457,7 +1455,7 @@ class DatabaseORMSessionAsync(
|
|
1457
1455
|
|
1458
1456
|
# Refresh.
|
1459
1457
|
for model in models:
|
1460
|
-
await self.
|
1458
|
+
await self.session.refresh(model)
|
1461
1459
|
|
1462
1460
|
|
1463
1461
|
@wrap_transact
|
@@ -1472,7 +1470,7 @@ class DatabaseORMSessionAsync(
|
|
1472
1470
|
|
1473
1471
|
# Refresh.
|
1474
1472
|
for model in models:
|
1475
|
-
self.
|
1473
|
+
self.session.expire(model)
|
1476
1474
|
|
1477
1475
|
|
1478
1476
|
@overload
|
@@ -1539,7 +1537,7 @@ class DatabaseORMStatement(DatabaseORMStatementSuper[DatabaseORMSession]):
|
|
1539
1537
|
self.sess.get_begin()
|
1540
1538
|
|
1541
1539
|
# Execute.
|
1542
|
-
result: Result = self.sess.
|
1540
|
+
result: Result = self.sess.session.exec(self)
|
1543
1541
|
|
1544
1542
|
## Select.)
|
1545
1543
|
if isinstance(self, Select):
|
@@ -1550,7 +1548,7 @@ class DatabaseORMStatement(DatabaseORMStatementSuper[DatabaseORMSession]):
|
|
1550
1548
|
|
1551
1549
|
## Select.
|
1552
1550
|
if isinstance(self, Select):
|
1553
|
-
self.sess.
|
1551
|
+
self.sess.session.expunge_all()
|
1554
1552
|
|
1555
1553
|
self.sess.commit()
|
1556
1554
|
self.sess.close()
|
@@ -1584,7 +1582,7 @@ class DatabaseORMStatementAsync(DatabaseORMStatementSuper[DatabaseORMSessionAsyn
|
|
1584
1582
|
await self.sess.get_begin()
|
1585
1583
|
|
1586
1584
|
# Execute.
|
1587
|
-
result: Result = await self.sess.
|
1585
|
+
result: Result = await self.sess.session.exec(self)
|
1588
1586
|
|
1589
1587
|
## Select.
|
1590
1588
|
if isinstance(self, Select):
|
@@ -1595,7 +1593,7 @@ class DatabaseORMStatementAsync(DatabaseORMStatementSuper[DatabaseORMSessionAsyn
|
|
1595
1593
|
|
1596
1594
|
## Select.
|
1597
1595
|
if isinstance(self, Select):
|
1598
|
-
self.sess.
|
1596
|
+
self.sess.session.expunge_all()
|
1599
1597
|
|
1600
1598
|
await self.sess.commit()
|
1601
1599
|
await self.sess.close()
|
@@ -1607,13 +1605,10 @@ class DatabaseORMStatementAsync(DatabaseORMStatementSuper[DatabaseORMSessionAsyn
|
|
1607
1605
|
class DatabaseORMStatementSelectSuper(DatabaseORMStatementSuper, Select):
|
1608
1606
|
"""
|
1609
1607
|
Database ORM `select` statement super type.
|
1610
|
-
|
1611
|
-
Attributes
|
1612
|
-
----------
|
1613
|
-
inherit_cache : Compatible type.
|
1614
1608
|
"""
|
1615
1609
|
|
1616
1610
|
inherit_cache: Final = True
|
1611
|
+
'Compatible type.'
|
1617
1612
|
|
1618
1613
|
|
1619
1614
|
def fields(self, *names: str) -> Self:
|
@@ -1672,13 +1667,10 @@ class DatabaseORMStatementSelectSuper(DatabaseORMStatementSuper, Select):
|
|
1672
1667
|
class DatabaseORMStatementSelect(DatabaseORMStatement, DatabaseORMStatementSelectSuper, Generic[DatabaseORMModelT]):
|
1673
1668
|
"""
|
1674
1669
|
Database ORM `select` statement type.
|
1675
|
-
|
1676
|
-
Attributes
|
1677
|
-
----------
|
1678
|
-
inherit_cache : Compatible type.
|
1679
1670
|
"""
|
1680
1671
|
|
1681
1672
|
inherit_cache: Final = True
|
1673
|
+
'Compatible type.'
|
1682
1674
|
|
1683
1675
|
|
1684
1676
|
@overload
|
@@ -1690,13 +1682,10 @@ class DatabaseORMStatementSelect(DatabaseORMStatement, DatabaseORMStatementSelec
|
|
1690
1682
|
class DatabaseORMStatementSelectAsync(DatabaseORMStatementAsync, DatabaseORMStatementSelectSuper, Generic[DatabaseORMModelT]):
|
1691
1683
|
"""
|
1692
1684
|
Asynchronous database ORM `select` statement type.
|
1693
|
-
|
1694
|
-
Attributes
|
1695
|
-
----------
|
1696
|
-
inherit_cache : Compatible type.
|
1697
1685
|
"""
|
1698
1686
|
|
1699
1687
|
inherit_cache: Final = True
|
1688
|
+
'Compatible type.'
|
1700
1689
|
|
1701
1690
|
|
1702
1691
|
@overload
|
@@ -1708,13 +1697,10 @@ class DatabaseORMStatementSelectAsync(DatabaseORMStatementAsync, DatabaseORMStat
|
|
1708
1697
|
class DatabaseORMStatementInsertSuper(DatabaseORMStatementSuper, Insert):
|
1709
1698
|
"""
|
1710
1699
|
Database ORM `select` statement super type.
|
1711
|
-
|
1712
|
-
Attributes
|
1713
|
-
----------
|
1714
|
-
inherit_cache : Compatible type.
|
1715
1700
|
"""
|
1716
1701
|
|
1717
1702
|
inherit_cache: Final = True
|
1703
|
+
'Compatible type.'
|
1718
1704
|
|
1719
1705
|
|
1720
1706
|
def ignore(self) -> Self:
|
@@ -1794,37 +1780,28 @@ class DatabaseORMStatementInsertSuper(DatabaseORMStatementSuper, Insert):
|
|
1794
1780
|
class DatabaseORMStatementInsert(DatabaseORMStatement, DatabaseORMStatementInsertSuper):
|
1795
1781
|
"""
|
1796
1782
|
Database ORM `insert` statement type.
|
1797
|
-
|
1798
|
-
Attributes
|
1799
|
-
----------
|
1800
|
-
inherit_cache : Compatible type.
|
1801
1783
|
"""
|
1802
1784
|
|
1803
1785
|
inherit_cache: Final = True
|
1786
|
+
'Compatible type.'
|
1804
1787
|
|
1805
1788
|
|
1806
1789
|
class DatabaseORMStatementInsertAsync(DatabaseORMStatementAsync, DatabaseORMStatementInsertSuper):
|
1807
1790
|
"""
|
1808
1791
|
Asynchronous database ORM `insert` statement type.
|
1809
|
-
|
1810
|
-
Attributes
|
1811
|
-
----------
|
1812
|
-
inherit_cache : Compatible type.
|
1813
1792
|
"""
|
1814
1793
|
|
1815
1794
|
inherit_cache: Final = True
|
1795
|
+
'Compatible type.'
|
1816
1796
|
|
1817
1797
|
|
1818
1798
|
class DatabaseORMStatementUpdateSuper(DatabaseORMStatementSuper, Update):
|
1819
1799
|
"""
|
1820
1800
|
Database ORM `update` statement super type.
|
1821
|
-
|
1822
|
-
Attributes
|
1823
|
-
----------
|
1824
|
-
inherit_cache : Compatible type.
|
1825
1801
|
"""
|
1826
1802
|
|
1827
1803
|
inherit_cache: Final = True
|
1804
|
+
'Compatible type.'
|
1828
1805
|
|
1829
1806
|
|
1830
1807
|
def where(self, *clauses: str | _ColumnExpressionArgument[bool]) -> Self:
|
@@ -1878,37 +1855,28 @@ class DatabaseORMStatementUpdateSuper(DatabaseORMStatementSuper, Update):
|
|
1878
1855
|
class DatabaseORMStatementUpdate(DatabaseORMStatement, DatabaseORMStatementUpdateSuper):
|
1879
1856
|
"""
|
1880
1857
|
Database ORM `update` statement type.
|
1881
|
-
|
1882
|
-
Attributes
|
1883
|
-
----------
|
1884
|
-
inherit_cache : Compatible type.
|
1885
1858
|
"""
|
1886
1859
|
|
1887
1860
|
inherit_cache: Final = True
|
1861
|
+
'Compatible type.'
|
1888
1862
|
|
1889
1863
|
|
1890
1864
|
class DatabaseORMStatementUpdateAsync(DatabaseORMStatementAsync, DatabaseORMStatementUpdateSuper):
|
1891
1865
|
"""
|
1892
1866
|
Asynchronous database ORM `update` statement type.
|
1893
|
-
|
1894
|
-
Attributes
|
1895
|
-
----------
|
1896
|
-
inherit_cache : Compatible type.
|
1897
1867
|
"""
|
1898
1868
|
|
1899
1869
|
inherit_cache: Final = True
|
1870
|
+
'Compatible type.'
|
1900
1871
|
|
1901
1872
|
|
1902
1873
|
class DatabaseORMStatementDeleteSuper(DatabaseORMStatementSuper, Delete):
|
1903
1874
|
"""
|
1904
1875
|
Database ORM `delete` statement super type.
|
1905
|
-
|
1906
|
-
Attributes
|
1907
|
-
----------
|
1908
|
-
inherit_cache : Compatible type.
|
1909
1876
|
"""
|
1910
1877
|
|
1911
1878
|
inherit_cache: Final = True
|
1879
|
+
'Compatible type.'
|
1912
1880
|
|
1913
1881
|
|
1914
1882
|
def where(self, *clauses: str | _ColumnExpressionArgument[bool]) -> Self:
|
@@ -1962,25 +1930,19 @@ class DatabaseORMStatementDeleteSuper(DatabaseORMStatementSuper, Delete):
|
|
1962
1930
|
class DatabaseORMStatementDelete(DatabaseORMStatement, DatabaseORMStatementDeleteSuper):
|
1963
1931
|
"""
|
1964
1932
|
Database ORM `delete` statement type.
|
1965
|
-
|
1966
|
-
Attributes
|
1967
|
-
----------
|
1968
|
-
inherit_cache : Compatible type.
|
1969
1933
|
"""
|
1970
1934
|
|
1971
1935
|
inherit_cache: Final = True
|
1936
|
+
'Compatible type.'
|
1972
1937
|
|
1973
1938
|
|
1974
1939
|
class DatabaseORMStatementDeleteAsync(DatabaseORMStatementAsync, DatabaseORMStatementDeleteSuper):
|
1975
1940
|
"""
|
1976
1941
|
Asynchronous database ORM `delete` statement type.
|
1977
|
-
|
1978
|
-
Attributes
|
1979
|
-
----------
|
1980
|
-
inherit_cache : Compatible type.
|
1981
1942
|
"""
|
1982
1943
|
|
1983
1944
|
inherit_cache: Final = True
|
1945
|
+
'Compatible type.'
|
1984
1946
|
|
1985
1947
|
|
1986
1948
|
# Simple path.
|
@@ -0,0 +1,15 @@
|
|
1
|
+
reydb/__init__.py,sha256=MJkZy2rOM2VSj_L2kaKe6CJfsg334vb3OLVUqavWKfM,558
|
2
|
+
reydb/rall.py,sha256=IxSPGh77xz7ndDC7J8kZ_66Gq_xTAztGtnELUku1Ouw,364
|
3
|
+
reydb/rbase.py,sha256=sl2lZWQVC5kXTJid2v5zmy1lMshYLm2NhEQi_dnY_Bw,8232
|
4
|
+
reydb/rbuild.py,sha256=0cpV7nZM21KtcG90U9Q8gjNBOKhc-ShwSH5wh99l94o,40597
|
5
|
+
reydb/rconfig.py,sha256=cPFt9QI_lj0u4tChBJ0kHYf2G788epbT2oSYk2r24yo,18010
|
6
|
+
reydb/rconn.py,sha256=guRaR8N6RuzZzujwaeq7HhKWTizF9SrUBqEAFjfjpoo,6909
|
7
|
+
reydb/rdb.py,sha256=nieXxFqf07Dljl-12Ub8R8s-uNZjai7PN2rqlvOxyqw,15408
|
8
|
+
reydb/rerror.py,sha256=O7lbnkAamQa1OKz6WJPeBUkzDTP6LNGqBqCfrI02DO4,14722
|
9
|
+
reydb/rexec.py,sha256=uj87vAeKnqNg9tWCy0ycjI9uMj0IgZCS4waL9cC_mTY,52930
|
10
|
+
reydb/rinfo.py,sha256=1lMnD-eN97vHrQ1DM8X7mQIhyLmCg6V0P2QwSeF07_c,18127
|
11
|
+
reydb/rorm.py,sha256=vCNTH6bAg_3Hg8E6nOGDSZ82sZq6gkiQI5rds_hJbV4,49960
|
12
|
+
reydb-1.2.19.dist-info/METADATA,sha256=VCP-3YkgjexOuDjSYs7IGMhe85qzX_3pbLiQRCUjayA,1647
|
13
|
+
reydb-1.2.19.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
14
|
+
reydb-1.2.19.dist-info/licenses/LICENSE,sha256=UYLPqp7BvPiH8yEZduJqmmyEl6hlM3lKrFIefiD4rvk,1059
|
15
|
+
reydb-1.2.19.dist-info/RECORD,,
|
reydb-1.2.17.dist-info/RECORD
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
reydb/__init__.py,sha256=MJkZy2rOM2VSj_L2kaKe6CJfsg334vb3OLVUqavWKfM,558
|
2
|
-
reydb/rall.py,sha256=IxSPGh77xz7ndDC7J8kZ_66Gq_xTAztGtnELUku1Ouw,364
|
3
|
-
reydb/rbase.py,sha256=sl2lZWQVC5kXTJid2v5zmy1lMshYLm2NhEQi_dnY_Bw,8232
|
4
|
-
reydb/rbuild.py,sha256=QZF26KDL6oRb6RyMEtIJcbiX9TJzK2aUPqjqGjflF7s,80834
|
5
|
-
reydb/rconfig.py,sha256=ZmVpoP7GuwuP3536Lz34kaZDG5MCVf0JFBaT5nm1-L8,17686
|
6
|
-
reydb/rconn.py,sha256=guRaR8N6RuzZzujwaeq7HhKWTizF9SrUBqEAFjfjpoo,6909
|
7
|
-
reydb/rdb.py,sha256=s96XLLH8ZmJm-q4J9RRP6KGkxH3MGodPOcWqB-6-V4U,14356
|
8
|
-
reydb/rerror.py,sha256=0AIe7ZpDEe60xTV_FJCCBwzFVHwONh7qxvYpgwzZDvI,14401
|
9
|
-
reydb/rexec.py,sha256=DdmcJ6j4il06wEyvhttac2GpmGdsZJtOEljH7wUvca8,52948
|
10
|
-
reydb/rinfo.py,sha256=1lMnD-eN97vHrQ1DM8X7mQIhyLmCg6V0P2QwSeF07_c,18127
|
11
|
-
reydb/rorm.py,sha256=77QQgQglvA2b4fRH1xBqca7BQ-Hu2MudDopRPJ6E4J4,50761
|
12
|
-
reydb-1.2.17.dist-info/METADATA,sha256=zfoqQQNi3sPymiV82KzaBJS_-c4ZA_3r2VIMq9xK3WU,1647
|
13
|
-
reydb-1.2.17.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
14
|
-
reydb-1.2.17.dist-info/licenses/LICENSE,sha256=UYLPqp7BvPiH8yEZduJqmmyEl6hlM3lKrFIefiD4rvk,1059
|
15
|
-
reydb-1.2.17.dist-info/RECORD,,
|
File without changes
|
File without changes
|