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

Method insert

class/db.py:431–434  ·  view source on GitHub ↗
(self,pdata)

Source from the content-addressed store, hash-verified

429
430 #插入数据
431 def insert(self,pdata):
432 if not pdata: return False
433 keys,param = self.__format_pdata(pdata)
434 return self.add(keys,param)
435
436 #更新数据
437 def update(self,pdata):

Callers 15

restore_site_db_dataMethod · 0.95
proc_workerMethod · 0.45
proc_workerMethod · 0.45
process_net_totalMethod · 0.45
tools.pyFile · 0.45
get_temp_loginFunction · 0.45
get_temp_login_ipv4Function · 0.45
tools_en.pyFile · 0.45
get_temp_loginFunction · 0.45
get_temp_login_ipv4Function · 0.45
manager_tomcat.pyFile · 0.45
safecloud_list.pyFile · 0.45

Calls 2

__format_pdataMethod · 0.95
addMethod · 0.95

Tested by

no test coverage detected