datahub_binary 1.8.10__cp312-cp312-win_amd64.whl → 1.9.0__cp312-cp312-win_amd64.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.
- datahub/dbo/database.pyi +8 -1
- datahub.cp312-win_amd64.pyd +0 -0
- {datahub_binary-1.8.10.dist-info → datahub_binary-1.9.0.dist-info}/METADATA +1 -1
- {datahub_binary-1.8.10.dist-info → datahub_binary-1.9.0.dist-info}/RECORD +6 -6
- {datahub_binary-1.8.10.dist-info → datahub_binary-1.9.0.dist-info}/WHEEL +0 -0
- {datahub_binary-1.8.10.dist-info → datahub_binary-1.9.0.dist-info}/top_level.txt +0 -0
datahub/dbo/database.pyi
CHANGED
|
@@ -59,7 +59,14 @@ class Database:
|
|
|
59
59
|
:param filters: "字段名"=值
|
|
60
60
|
:return: 删除行数
|
|
61
61
|
'''
|
|
62
|
-
def
|
|
62
|
+
def select(self, table_name: str, **filters) -> list[dict]:
|
|
63
|
+
'''
|
|
64
|
+
查询数据
|
|
65
|
+
:param table_name: 表名
|
|
66
|
+
:param filters: "字段名"=值
|
|
67
|
+
:return: 查询结果列表
|
|
68
|
+
'''
|
|
69
|
+
def query(self, sql: str, return_format: Literal['dataframe', 'records'] = 'records') -> pl.DataFrame | list[dict] | None:
|
|
63
70
|
"""
|
|
64
71
|
执行原生SQL查询
|
|
65
72
|
|
datahub.cp312-win_amd64.pyd
CHANGED
|
Binary file
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
datahub.cp312-win_amd64.pyd,sha256
|
|
1
|
+
datahub.cp312-win_amd64.pyd,sha256=-m95udxX4_3X65OH2gr-rlYKEJEQM5ZyLmmR9-dDal4,1893376
|
|
2
2
|
datahub.pyi,sha256=biltT_CgztnMyL9mbp332i5vT7LUMws0bN6fdQ3WYH4,1555
|
|
3
3
|
datahub/__init__.pyi,sha256=hX8D9Qd6uPjZiUBd6rIq7Llkt_H4l_RvRXsws3sdYbI,630
|
|
4
4
|
datahub/datacache.pyi,sha256=Z2b3ktYv5t2y9Z1yXn0axbdoV06-GhjJhEIl_Ms-FjU,5044
|
|
5
5
|
datahub/datahub.pyi,sha256=NKfhw00iPMsp0Z_q4usO_D7xB6-Hr50wRxpe3KGYH7E,51370
|
|
6
6
|
datahub/setting.pyi,sha256=u6gYjjF6r1thSpp2XNMvg_1JUcqB64dRTkNoHlOoKUQ,889
|
|
7
7
|
datahub/ats/client_sdk.pyi,sha256=RScBpyY2ML84RBrYt60RnHtodOwWOe5-LbnJ3nFFBGs,8710
|
|
8
|
-
datahub/dbo/database.pyi,sha256=
|
|
8
|
+
datahub/dbo/database.pyi,sha256=A6Yk-0Z_fSy7F7YeBowpebGvq0RfGK7-lSVQ54USnjs,3355
|
|
9
9
|
datahub/dbo/pg.pyi,sha256=fz2vWRF7vd5ANW5dVQAf7NfTzzjFN5aRKSw32nPRN4M,1931
|
|
10
10
|
datahub/dbo/redis_stream.pyi,sha256=geVI1BoTHRlxodS44MquM-FY_aJt27eDqmAKf2a4PyM,1938
|
|
11
11
|
datahub/dbo/sr.pyi,sha256=WWslzbQ11sasBqORbba3U5IZsAYWCiG4jeZK_f5-FZg,28579
|
|
@@ -25,7 +25,7 @@ datahub/utils/sftp.pyi,sha256=w8S-cxJWMeWJ6--RjT95qVgng_IhwPImiyoqdCpOCQI,2107
|
|
|
25
25
|
datahub/utils/monitor/__init__.pyi,sha256=EOwgf8CbJ4g3iUAaFoR6O-mYemJ9xjP42zlBj2KeA9c,76
|
|
26
26
|
datahub/utils/monitor/base.pyi,sha256=n1dKYK73JJ_7QPkCWFc-6Aj_a16j2z_VBaQ9zkN9A3E,310
|
|
27
27
|
datahub/utils/monitor/feishu.pyi,sha256=GgvJXYeX3cPOQjqpV0GJUr_Ri1_cZe2-viRBkpe6O_g,402
|
|
28
|
-
datahub_binary-1.
|
|
29
|
-
datahub_binary-1.
|
|
30
|
-
datahub_binary-1.
|
|
31
|
-
datahub_binary-1.
|
|
28
|
+
datahub_binary-1.9.0.dist-info/METADATA,sha256=7LTiWCLBvbrrD71pYdd-OCDIEpuaZL2WujBUo3hLfH8,7903
|
|
29
|
+
datahub_binary-1.9.0.dist-info/WHEEL,sha256=mktjIo72eqyqXY-lxdbITmUE47ZU2O9WYzyv0PnFKrU,96
|
|
30
|
+
datahub_binary-1.9.0.dist-info/top_level.txt,sha256=J0rzqYfZghMgpObWaPGhQtV88I-KXrgArDvi_ddf6ZA,8
|
|
31
|
+
datahub_binary-1.9.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|