reydb 1.2.1__py3-none-any.whl → 1.2.3__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/rbase.py +4 -4
- reydb/rbuild.py +1493 -13
- reydb/rconfig.py +27 -21
- reydb/rdb.py +2 -2
- reydb/rerror.py +29 -23
- reydb/rexec.py +20 -20
- reydb/rinfo.py +13 -13
- reydb/rorm.py +62 -24
- {reydb-1.2.1.dist-info → reydb-1.2.3.dist-info}/METADATA +1 -1
- reydb-1.2.3.dist-info/RECORD +15 -0
- reydb-1.2.1.dist-info/RECORD +0 -15
- {reydb-1.2.1.dist-info → reydb-1.2.3.dist-info}/WHEEL +0 -0
- {reydb-1.2.1.dist-info → reydb-1.2.3.dist-info}/licenses/LICENSE +0 -0
reydb/rbase.py
CHANGED
@@ -75,7 +75,7 @@ def handle_sql(sql: str | TextClause) -> TextClause:
|
|
75
75
|
TextClause instance.
|
76
76
|
"""
|
77
77
|
|
78
|
-
#
|
78
|
+
# Set parameter.
|
79
79
|
if type(sql) == TextClause:
|
80
80
|
sql = sql.text
|
81
81
|
|
@@ -102,7 +102,7 @@ def handle_data(data: list[dict], sql: str | TextClause) -> list[dict]:
|
|
102
102
|
Filled data.
|
103
103
|
"""
|
104
104
|
|
105
|
-
#
|
105
|
+
# Set parameter.
|
106
106
|
if type(sql) == TextClause:
|
107
107
|
sql = sql.text
|
108
108
|
|
@@ -298,7 +298,7 @@ def get_syntax(self, sql: str | TextClause) -> list[str]:
|
|
298
298
|
SQL syntax type for each segment.
|
299
299
|
"""
|
300
300
|
|
301
|
-
#
|
301
|
+
# Set parameter.
|
302
302
|
if type(sql) == TextClause:
|
303
303
|
sql = sql.text
|
304
304
|
|
@@ -325,7 +325,7 @@ def is_multi_sql(self, sql: str | TextClause) -> bool:
|
|
325
325
|
Judgment result.
|
326
326
|
"""
|
327
327
|
|
328
|
-
#
|
328
|
+
# Set parameter.
|
329
329
|
if type(sql) == TextClause:
|
330
330
|
sql = sql.text
|
331
331
|
|