MCPcopy Create free account
hub / github.com/aaPanel/BaoTa / __format_pdata

Method __format_pdata

class/databaseModel/sqliteModel.py:573–578  ·  view source on GitHub ↗
(self,pdata)

Source from the content-addressed store, hash-verified

571
572 #构造数据
573 def __format_pdata(self,pdata):
574 keys = pdata.keys()
575 keys_str = ','.join(["`{}`".format(i) for i in keys])
576 param = []
577 for k in keys: param.append(pdata[k])
578 return keys_str,tuple(param)
579
580 def get_db_info(self,path):
581 """

Callers 1

create_table_dataMethod · 0.95

Calls 4

keysMethod · 0.45
joinMethod · 0.45
formatMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected