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

Method delete_where

mod/project/node/dbutil/node_task_flow.py:712–717  ·  view source on GitHub ↗
(self, where_str: str, parms: Iterable[Any])

Source from the content-addressed store, hash-verified

710 return str(res)
711
712 def delete_where(self, where_str: str, parms: Iterable[Any]) -> str:
713 try:
714 self._db.table(self.table_name).where(where_str, parms).delete()
715 return ""
716 except Exception as e:
717 return str(e)
718
719
720class _ScriptTable(_Table[Script]):

Callers 2

remove_flowMethod · 0.80
clear_old_logMethod · 0.80

Calls 3

deleteMethod · 0.45
whereMethod · 0.45
tableMethod · 0.45

Tested by

no test coverage detected