MCPcopy Create free account
hub / github.com/pgadmin-org/pgadmin4 / clear

Method clear

web/pgadmin/tools/sqleditor/utils/query_history.py:137–144  ·  view source on GitHub ↗
(uid, sid, dbname=None, filter=None)

Source from the content-addressed store, hash-verified

135
136 @staticmethod
137 def clear(uid, sid, dbname=None, filter=None):
138 QueryHistory.clear_history(uid, sid, dbname, filter)
139 return make_json_response(
140 data={
141 'status': True,
142 'msg': 'Success',
143 }
144 )

Callers 14

_reset_oauth2_stateMethod · 0.45
wrapFunction · 0.45
clear_dataMethod · 0.45
clear_query_historyFunction · 0.45
simulateChangesFunction · 0.45
_update_numeric_cellMethod · 0.45
_update_text_cellMethod · 0.45
_test_copies_rowsMethod · 0.45

Calls 2

make_json_responseFunction · 0.90
clear_historyMethod · 0.80

Tested by 7

_reset_oauth2_stateMethod · 0.36
simulateChangesFunction · 0.36
_test_copies_rowsMethod · 0.36
_test_copies_columnsMethod · 0.36
runTestMethod · 0.36