Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pgadmin-org/pgadmin4
/ functions
Functions
9,964 in github.com/pgadmin-org/pgadmin4
⨍
Functions
9,964
◇
Types & classes
1,736
↳
Endpoints
371
↓ 15 callers
Function
debug
Print a debug message
web/pgacloud/utils/io.py:15
↓ 15 callers
Function
emptyValidator
(label, value)
web/pgadmin/static/js/validators.js:50
↓ 15 callers
Function
encrypt
Encrypt the plaintext with AES method. Parameters: plaintext -- String to be encrypted. key -- Key for encryption.
web/pgadmin/utils/crypto.py:25
↓ 15 callers
Method
getNodesDict
()
web/pgadmin/tools/erd/static/js/erd_tool/ERDModel.js:18
↓ 15 callers
Method
get_reverse_engineered_sql
This function will creates reverse engineered sql for the table object Args: kwargs
web/pgadmin/browser/server_groups/servers/databases/schemas/tables/utils.py:1038
↓ 15 callers
Method
messages
(self, msg_key)
web/pgadmin/authenticate/internal.py:85
↓ 15 callers
Method
remove_server
(self, server_config)
web/regression/feature_utils/pgadmin_page.py:377
↓ 15 callers
Method
subscribe
(path, listener, kind='options')
web/pgadmin/static/js/SchemaView/SchemaState/SchemaState.js:311
↓ 14 callers
Method
_auto_complete
(self, word, expected_string)
web/regression/feature_tests/query_tool_auto_complete_tests.py:167
↓ 14 callers
Method
children
(file: FileEntry)
web/pgadmin/static/js/components/PgTree/types.ts:57
↓ 14 callers
Method
click_modal
(self, button_text, docker=False)
web/regression/feature_utils/pgadmin_page.py:94
↓ 14 callers
Method
close_query_tool
(self, prompt=True)
web/regression/feature_utils/pgadmin_page.py:249
↓ 14 callers
Method
convert_length_precision_to_string
This function is used to convert length & precision to string to handle case like when user gives 0 as length Args:
web/pgadmin/browser/server_groups/servers/databases/schemas/types/__init__.py:401
↓ 14 callers
Method
create_collation
This function create a collation and returns the created collation response :return: created collation response
web/pgadmin/browser/server_groups/servers/databases/schemas/collations/tests/test_collation_add.py:50
↓ 14 callers
Method
create_event_trigger
This function create a event trigger and returns the created event trigger response :return: created event trigger response
web/pgadmin/browser/server_groups/servers/databases/event_triggers/tests/test_event_trigger_add.py:55
↓ 14 callers
Method
create_language
This function will add language under test database.
web/pgadmin/browser/server_groups/servers/databases/languages/tests/test_language_add.py:76
↓ 14 callers
Function
error
Print an error message and exit
web/pgacloud/utils/io.py:23
↓ 14 callers
Method
getSelectedNodes
()
web/pgadmin/tools/erd/static/js/erd_tool/ERDCore.js:747
↓ 14 callers
Method
messages
(self)
web/pgadmin/tools/debugger/tests/test_messages_debugger.py:53
↓ 14 callers
Method
setUp
(self)
web/pgadmin/browser/server_groups/servers/databases/schemas/fts_parsers/tests/test_fts_parser_get.py:31
↓ 14 callers
Method
setValue
(newValue, markClean=false)
web/pgadmin/static/js/components/ReactCodeMirror/CustomEditorView.js:289
↓ 14 callers
Function
set_value
(key, param, default_value=None, assertion=True)
web/pgadmin/tools/backup/__init__.py:246
↓ 14 callers
Method
update
This function will updates the existing trigger object Args: gid: Server Group ID sid: Server ID d
web/pgadmin/browser/server_groups/servers/databases/schemas/tables/triggers/__init__.py:706
↓ 14 callers
Method
utility
(self, operation, sversion)
web/pgadmin/browser/server_groups/servers/types.py:160
↓ 13 callers
Function
_get_azure_from_session
Build an Azure instance from `session['azure']['state']`. Returns None when no Azure state has been seeded yet — callers should treat that as
web/pgadmin/misc/cloud/azure/__init__.py:61
↓ 13 callers
Function
_make_shared_server
Create a mock SharedServer object.
web/pgadmin/browser/server_groups/servers/tests/test_shared_server_unit.py:63
↓ 13 callers
Function
addNewDatagridRow
(user, ctrl)
web/regression/javascript/genericFunctions.jsx:93
↓ 13 callers
Method
create_trigger
(self)
web/pgadmin/browser/server_groups/servers/databases/schemas/tables/triggers/tests/test_triggers_add.py:60
↓ 13 callers
Method
create_user_mapping
This function create a user mapping and returns the created user mapping response :return: created user mapping response
web/pgadmin/browser/server_groups/servers/databases/foreign_data_wrappers/foreign_servers/user_mappings/tests/test_user_mapping_add.py:52
↓ 13 callers
Function
decrypt
Decrypt the AES encrypted string. Parameters: ciphertext -- Encrypted string with AES method. key -- key to decrypt t
web/pgadmin/utils/crypto.py:47
↓ 13 callers
Method
delete_fdw
This function deletes fdw :return: fdw delete
web/pgadmin/browser/server_groups/servers/databases/foreign_data_wrappers/tests/test_fdw_delete.py:39
↓ 13 callers
Method
delete_publication
(self)
web/pgadmin/browser/server_groups/servers/databases/publications/tests/test_publication_delete.py:59
↓ 13 callers
Function
disableToolbarButtons
()
web/pgadmin/tools/debugger/static/js/components/DebuggerComponent.jsx:55
↓ 13 callers
Method
find_matches
Find completion matches for the given text. Given the user's input text and a collection of available completions, find completions m
web/pgadmin/utils/sqlautocomplete/autocomplete.py:384
↓ 13 callers
Function
getFieldDepChange
(schema, id)
web/regression/javascript/schema_ui_files/unique_constraint.ui.spec.js:35
↓ 13 callers
Function
getFieldDepChange
(schema, id)
web/regression/javascript/schema_ui_files/primary_key.ui.spec.js:35
↓ 13 callers
Function
getHelpUrl
(base_path, file, version)
web/pgadmin/help/static/js/help.js:10
↓ 13 callers
Method
getNewData
(data={})
web/pgadmin/static/js/SchemaView/base_schema.ui.js:160
↓ 13 callers
Method
get_shared_server
Return the SharedServer record for the current user, creating one lazily if it doesn't exist. The unique constraint on (osid
web/pgadmin/browser/server_groups/servers/__init__.py:493
↓ 13 callers
Function
get_storage_directory
(user=current_user, shared_storage='')
web/pgadmin/utils/paths.py:35
↓ 13 callers
Method
get_tables
This function returns the tables list. Args: gid: Server Group ID sid: Server ID did: Database I
web/pgadmin/browser/server_groups/servers/databases/publications/__init__.py:820
↓ 13 callers
Method
login
(self, form)
web/pgadmin/authenticate/ldap.py:163
↓ 13 callers
Method
pgNotifier
(type, error, promptmsg, onJSONResult)
web/pgadmin/static/js/helpers/Notifier.jsx:127
↓ 13 callers
Function
quote_ident
(value)
web/pgadmin/static/js/utils.js:179
↓ 13 callers
Method
setActiveFile
(path: string)
web/pgadmin/static/js/components/PgTree/types.ts:18
↓ 13 callers
Method
size
()
web/pgadmin/tools/sqleditor/static/js/components/sections/QueryHistory.jsx:260
↓ 12 callers
Function
View
(name)
web/pgadmin/static/js/SchemaView/registry.js:33
↓ 12 callers
Function
_abs
(*parts)
web/pgadmin/browser/server_groups/servers/databases/tests/test_stats_template_regclass_cast.py:75
↓ 12 callers
Function
_get_google_from_session
Build a Google instance from `session['google']['state']`. Returns None when no Google state has been seeded yet — callers should treat that
web/pgadmin/misc/cloud/google/__init__.py:55
↓ 12 callers
Method
addChild
(parent, child)
web/regression/javascript/tree/tree_fake.js:72
↓ 12 callers
Method
connected
(self)
web/pgadmin/utils/driver/psycopg3/connection.py:1430
↓ 12 callers
Function
evalFunc
(obj, func, ...param)
web/pgadmin/static/js/utils.js:348
↓ 12 callers
Function
getEpoch
(inp_date)
web/pgadmin/static/js/utils.js:85
↓ 12 callers
Function
getNodeListById
(nodeObj, treeNodeInfo, itemNodeData, params={}, filter=()=>true, postTransform=(res)=>res)
web/pgadmin/browser/static/js/node_ajax.js:139
↓ 12 callers
Method
get_shared_server_properties
Return shared server properties. Overlays per-user SharedServer values onto the owner's Server object so each non-owner sees
web/pgadmin/browser/server_groups/servers/__init__.py:170
↓ 12 callers
Function
initializeSchemaWithData
(schema, data)
web/regression/javascript/schema_ui_files/utils.js:14
↓ 12 callers
Function
isReadOnly
(obj, state, parentName)
web/pgadmin/browser/server_groups/servers/databases/dbms_job_scheduler/static/js/dbms_job_scheduler_common.ui.js:14
↓ 12 callers
Method
new_session
Create a new session
web/pgadmin/utils/session.py:166
↓ 12 callers
Function
normalize_ref
(ref)
web/pgadmin/utils/sqlautocomplete/autocomplete.py:72
↓ 12 callers
Method
openTab
(panelData, refTabId, direction='middle', forceRerender=false)
web/pgadmin/static/js/helpers/Layout/index.jsx:287
↓ 12 callers
Method
qtLiteral
(value, conn, force_quote=False)
web/pgadmin/utils/driver/psycopg3/__init__.py:311
↓ 12 callers
Function
rowKeyGetter
(row)
web/pgadmin/tools/schema_diff/static/js/components/ResultGridComponent.jsx:755
↓ 12 callers
Function
shouldWarnForLargeJSON
(value, threshold = LARGE_JSON_WARNING_LENGTH)
web/pgadmin/tools/sqleditor/static/js/components/QueryToolDataGrid/json_editor_warning.js:19
↓ 12 callers
Method
signal
()
web/pgadmin/static/js/SchemaView/hooks/useSchemaStateSubscriber.js:50
↓ 12 callers
Function
success_return
Create a response with HTTP status code 200 - OK.
web/pgadmin/utils/ajax.py:144
↓ 12 callers
Function
underscore_escape
This function mimics the behaviour of underscore js escape function The html escaped by jinja is not compatible for underscore unescape f
web/pgadmin/browser/utils.py:27
↓ 12 callers
Method
update
(self, server)
web/pgadmin/utils/driver/psycopg3/server_manager.py:60
↓ 12 callers
Function
validate_options
This function will filter validated options and sets flag to use in sql template if there are any valid options Args: option
web/pgadmin/browser/server_groups/servers/utils.py:197
↓ 11 callers
Method
_merge
(self, server=None, ss=None)
web/pgadmin/browser/server_groups/servers/tests/test_shared_server_unit.py:130
↓ 11 callers
Method
_wait_for
(self, waiting_for_message, condition_met_function, timeout=5)
web/regression/feature_utils/pgadmin_page.py:1128
↓ 11 callers
Method
build
(structure, pgBrowser)
web/regression/javascript/tree/tree_fake.js:14
↓ 11 callers
Function
createSchemaObject
()
web/regression/javascript/schema_ui_files/exclusion_constraint.ui.spec.js:43
↓ 11 callers
Method
delete_language
This function will delete language under test database.
web/pgadmin/browser/server_groups/servers/databases/languages/tests/test_language_delete.py:65
↓ 11 callers
Method
execute
(self, sql, trans_id, http_session, connect=False)
web/pgadmin/tools/sqleditor/utils/start_running_query.py:41
↓ 11 callers
Function
file_as_template
This method returns a jinja template for the given filepath
web/regression/python_test_utils/template_helper.py:25
↓ 11 callers
Method
for_user
Query scoped to a specific user (defaults to current_user). Args: user_id: Explicit user ID. If None, uses current_user.id.
web/pgadmin/model/__init__.py:93
↓ 11 callers
Method
getActiveFile
()
web/pgadmin/static/js/components/PgTree/types.ts:17
↓ 11 callers
Method
getFilterOptions
(state, options)
web/pgadmin/static/js/SchemaView/base_schema.ui.js:193
↓ 11 callers
Method
getMenuItems
()
web/pgadmin/static/js/helpers/Menu.js:113
↓ 11 callers
Method
get_rowcount
(self)
web/pgadmin/utils/driver/psycopg3/cursor.py:213
↓ 11 callers
Function
get_server
Fetch a server by ID with access check. Delegates to server_access.get_server(). Kept here for backward compatibility — existing callers impo
web/pgadmin/utils/__init__.py:361
↓ 11 callers
Function
isBusy
(httpStatus)
web/pgadmin/tools/debugger/static/js/components/DebuggerComponent.jsx:81
↓ 11 callers
Function
isValueEqual
(val1, val2)
web/pgadmin/static/js/SchemaView/common.js:40
↓ 11 callers
Method
off
(...args)
web/pgadmin/static/js/helpers/EventBus.js:51
↓ 11 callers
Function
onClose
(force=false)
web/pgadmin/browser/static/js/node.js:403
↓ 11 callers
Function
server_icon_and_background
Args: is_connected: Flag to check if server is connected manager: Connection manager server: Sever object Returns:
web/pgadmin/browser/server_groups/servers/__init__.py:112
↓ 11 callers
Function
simulateValidData
()
web/regression/javascript/SchemaView/SchemaDialogView.spec.js:67
↓ 11 callers
Function
validate_api_url
Validate that a URL is in the allowed LLM API URL list. Compares the scheme://host:port portion of the URL against config.ALLOWED_LLM_AP
web/pgadmin/llm/utils.py:144
↓ 10 callers
Method
__init__
This method is used to initialize the class and create a proper object name which will be used to fetch the data using namesp
web/pgadmin/tools/sqleditor/command.py:152
↓ 10 callers
Function
_append_rows
(status, res, disp_type)
web/pgadmin/tools/grant_wizard/__init__.py:295
↓ 10 callers
Function
_get_rows_for_type
Used internally by properties to get rows for an object type :param conn: connection object :param ntype: object type :param server_p
web/pgadmin/tools/grant_wizard/__init__.py:142
↓ 10 callers
Method
addNode
(data, position=[50, 50], metadata={})
web/pgadmin/tools/erd/static/js/erd_tool/ERDCore.js:247
↓ 10 callers
Method
callback
Callback function on completion of google authorisation request :param flask_request: :return: Success or error message
web/pgadmin/misc/cloud/google/__init__.py:470
↓ 10 callers
Method
clone
(self)
web/pgadmin/model/__init__.py:361
↓ 10 callers
Method
connect
Connect the Database.
web/pgadmin/browser/server_groups/servers/databases/__init__.py:553
↓ 10 callers
Method
create_compound_trigger
(self, object_id)
web/pgadmin/browser/server_groups/servers/databases/schemas/tables/compound_triggers/tests/test_compound_triggers_add.py:81
↓ 10 callers
Method
create_policy
(self, data)
web/pgadmin/browser/server_groups/servers/databases/schemas/tables/row_security_policies/tests/test_rls_add.py:92
↓ 10 callers
Method
create_rule
(self, data)
web/pgadmin/browser/server_groups/servers/databases/schemas/tables/rules/tests/test_rules_add.py:82
↓ 10 callers
Method
create_subscription
(self)
web/pgadmin/browser/server_groups/servers/databases/subscriptions/tests/test_subscription_create.py:74
↓ 10 callers
Method
deselect
(item)
web/pgadmin/static/js/tree/tree.js:225
← previous
next →
201–300 of 9,964, ranked by callers