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
↓ 6 callers
Method
get_data_sorting
This function returns the filter.
web/pgadmin/tools/sqleditor/command.py:223
↓ 6 callers
Method
get_filter
This function returns the filter.
web/pgadmin/tools/sqleditor/command.py:199
↓ 6 callers
Method
get_inner
(sql)
web/pgadmin/browser/server_groups/servers/databases/schemas/packages/__init__.py:824
↓ 6 callers
Method
get_url
This function is used to get the url. :param endpoint: :param object_id: :return:
web/regression/re_sql/tests/test_resql.py:176
↓ 6 callers
Function
get_version_mapping_directories
This function will return all the version mapping directories :param server_type: :return:
web/pgadmin/utils/versioned_template_loader.py:73
↓ 6 callers
Method
isApplicableForReindex
(state)
web/pgadmin/tools/maintenance/static/js/maintenance.ui.js:29
↓ 6 callers
Method
isOpen
(file: FileEntry)
web/pgadmin/static/js/components/PgTree/types.ts:48
↓ 6 callers
Method
is_table_partitioned
(self, table_info)
web/pgadmin/browser/server_groups/servers/databases/schemas/tables/base_partition_table.py:12
↓ 6 callers
Function
listenDepChanges
( accessPath, field, schemaState, setRefreshKey )
web/pgadmin/static/js/SchemaView/utils/listenDepChanges.js:16
↓ 6 callers
Method
loadFile
(fileName)
web/pgadmin/misc/file_manager/static/js/components/FileManager.jsx:418
↓ 6 callers
Method
make_symlink
Create a symlink at in_dir/link_name pointing at target. Returns the path to the link (relative-to-in_dir notation expected by check_
web/pgadmin/misc/file_manager/tests/test_filemanager_security.py:63
↓ 6 callers
Function
output
Dump JSON output from a dict
web/pgacloud/utils/io.py:32
↓ 6 callers
Function
parse_rule_definition
This function extracts: - events - do_instead - statements - condition from the defintion row, forms an array with fields and
web/pgadmin/browser/server_groups/servers/databases/schemas/utils.py:529
↓ 6 callers
Function
parse_sec_labels_from_db
Function to format the output for security label. Args: db_sec_labels : Security Label Array in (provider=label) format Returns
web/pgadmin/browser/server_groups/servers/databases/utils.py:13
↓ 6 callers
Method
parse_vacuum_data
This function returns result of an associated array of fields name, label, value and column_type. It adds name, label, column
web/pgadmin/browser/server_groups/servers/databases/schemas/utils.py:675
↓ 6 callers
Function
pluralize
Adds 's' for pluralization if count is not 1.
tools/release_converter.py:136
↓ 6 callers
Function
register
(cls)
web/pgadmin/static/js/SchemaView/DataGridView/features/feature.js:72
↓ 6 callers
Method
resume_windows_warning
Resumes waning on windows
web/pgadmin/misc/file_manager/__init__.py:768
↓ 6 callers
Function
sanitize
(str)
web/pgadmin/llm/static/js/SecurityReport.jsx:295
↓ 6 callers
Function
sanitize
(str)
web/pgadmin/llm/static/js/AIReport.jsx:595
↓ 6 callers
Method
saveLayout
(l)
web/pgadmin/static/js/helpers/Layout/index.jsx:402
↓ 6 callers
Method
setPosition
()
web/regression/javascript/erd/fake_item.js:14
↓ 6 callers
Method
setTitle
(title, dirty=false)
web/pgadmin/tools/erd/static/js/erd_tool/components/ERDTool.jsx:782
↓ 6 callers
Function
set_multiple
(key, param, data, args, driver, conn, with_schema=True)
web/pgadmin/tools/restore/__init__.py:268
↓ 6 callers
Method
table_node
(table_name)
web/regression/feature_utils/tree_area_locators.py:149
↓ 6 callers
Function
toPx
(value, prop, force, el)
web/pgadmin/static/js/to_px.js:44
↓ 6 callers
Method
toggleDirectory
(path: string)
web/pgadmin/static/js/components/PgTree/types.ts:35
↓ 6 callers
Function
u_encode
(_s, _encoding=sys_encoding)
web/pgadmin/utils/__init__.py:151
↓ 6 callers
Method
update
Update the Function. Args: gid: Server Group Id sid: Server Id did: Database Id scid
web/pgadmin/browser/server_groups/servers/databases/schemas/functions/__init__.py:698
↓ 6 callers
Function
update_session_diff_transaction
This function is used to update the diff model into the session. :param trans_id: :param session_obj: :param diff_model_obj: :ret
web/pgadmin/tools/schema_diff/__init__.py:189
↓ 6 callers
Method
update_vacuum_settings
This function iterate the vacuum and vacuum toast table and create two new dictionaries. One for set parameter and another for reset.
web/pgadmin/browser/server_groups/servers/databases/schemas/tables/utils.py:2123
↓ 6 callers
Function
useKeyboardShortcuts
(shortcuts, eleRef)
web/pgadmin/static/js/custom_hooks.js:184
↓ 6 callers
Function
usePrevious
(value)
web/pgadmin/static/js/custom_hooks.js:72
↓ 6 callers
Function
useSchemaStateSubscriber
(refreshKeyCallback)
web/pgadmin/static/js/SchemaView/hooks/useSchemaStateSubscriber.js:75
↓ 6 callers
Function
withStandardTabInfo
(Component, tabId)
web/pgadmin/static/js/helpers/withStandardTabInfo.jsx:16
↓ 5 callers
Function
ColumnMetadata
(name, datatype, foreignkeys=None, default=None, has_default=False)
web/pgadmin/utils/sqlautocomplete/parseutils/meta.py:9
↓ 5 callers
Method
__assertState
(self, javascript_bundler, expected_state)
web/pgadmin/utils/javascript/tests/test_javascript_bundler.py:111
↓ 5 callers
Method
__internal_blocking_execute
This function executes the query using cursor's execute function, but in case of asynchronous connection we need to wait for the
web/pgadmin/utils/driver/psycopg3/connection.py:833
↓ 5 callers
Method
_authorize_access_token
(self, provider_name, provider, client)
web/pgadmin/authenticate/oauth2.py:286
↓ 5 callers
Function
_emit_one
(handler)
web/pgadmin/utils/tests/test_enhanced_log_rotation.py:28
↓ 5 callers
Method
_formatted_exception_msg
This method is used to parse the psycopg.Error object and returns the formatted error message if flag is set to true else return
web/pgadmin/utils/driver/psycopg3/connection.py:1760
↓ 5 callers
Method
_get_azure_client
Create/cache/return an Azure client object
web/pgadmin/misc/cloud/azure/__init__.py:408
↓ 5 callers
Function
_get_keyword
Calculate word len, used internally by is_begin_required :param query: query :return: keyword len, keyword
web/pgadmin/tools/sqleditor/utils/is_begin_required.py:11
↓ 5 callers
Function
_log_exception
()
web/pgadmin/misc/bgprocess/process_executor.py:75
↓ 5 callers
Method
accessPath
(path, key)
web/pgadmin/static/js/SchemaView/SchemaState/SchemaState.js:291
↓ 5 callers
Method
add
File upload functionality
web/pgadmin/misc/file_manager/__init__.py:1088
↓ 5 callers
Function
attrChanged
(id, change, force=false)
web/pgadmin/static/js/SchemaView/SchemaState/common.js:129
↓ 5 callers
Method
bundle
(self)
web/pgadmin/utils/javascript/javascript_bundler.py:29
↓ 5 callers
Method
canAdd
(state)
web/pgadmin/browser/server_groups/servers/databases/schemas/tables/static/js/table.ui.js:114
↓ 5 callers
Method
check_execute_option
This function will check auto commit or auto roll back based on user input. If button is already checked, no action will be taken
web/regression/feature_utils/pgadmin_page.py:296
↓ 5 callers
Function
check_pgstattuple
This function is used to check pgstattuple extension is already created, and current_user have permission to access that object.
web/pgadmin/browser/server_groups/servers/databases/schemas/utils.py:748
↓ 5 callers
Method
check_ssh_tunnel_alive
(self)
web/pgadmin/utils/driver/psycopg3/server_manager.py:627
↓ 5 callers
Function
cleanCid
(coll, keepCid=false)
web/pgadmin/static/js/SchemaView/SchemaState/common.js:37
↓ 5 callers
Method
click_execute_query_button
(self, timeout=20)
web/regression/feature_utils/pgadmin_page.py:290
↓ 5 callers
Function
compact_history
Compact conversation history to fit within a token budget. Strategy: 1. Always keep the first message (provides original context) 2. Alwa
web/pgadmin/llm/compaction.py:222
↓ 5 callers
Function
connect_to_database
(obj, data, tree, item, _wasConnected)
web/pgadmin/browser/server_groups/servers/databases/static/js/database.js:404
↓ 5 callers
Function
connect_to_server
(obj, data, tree, item, reconnect)
web/pgadmin/browser/server_groups/servers/static/js/server.js:594
↓ 5 callers
Method
create_connection_string
This function is used to create connection string based on the parameters.
web/pgadmin/utils/driver/psycopg3/server_manager.py:653
↓ 5 callers
Method
create_domain_constraint
This function create a domain constraint and returns it :return: created domain constraint response
web/pgadmin/browser/server_groups/servers/databases/schemas/domains/domain_constraints/tests/test_domain_constraints_add.py:46
↓ 5 callers
Method
create_foreign_server
This function create a foreign server and returns the created foreign server response :return: created foreign server respons
web/pgadmin/browser/server_groups/servers/databases/foreign_data_wrappers/foreign_servers/tests/test_foreign_servers_add.py:49
↓ 5 callers
Function
ctrlMount
(props)
web/regression/javascript/components/CodeMirror.spec.js:91
↓ 5 callers
Function
ctrlMount
(props)
web/regression/javascript/SecurityPages/MfaRegisterPage.spec.js:19
↓ 5 callers
Function
ctrlMount
(props)
web/regression/javascript/file_manager/ListView.spec.js:25
↓ 5 callers
Method
customFromRaw
(originalValue, options)
web/pgadmin/browser/server_groups/servers/pgagent/schedules/static/js/pga_schedule.ui.js:93
↓ 5 callers
Method
delete
This function will delete the selected user mapping node. Args: gid: Server Group ID sid: Server ID
web/pgadmin/browser/server_groups/servers/databases/foreign_data_wrappers/foreign_servers/user_mappings/__init__.py:566
↓ 5 callers
Method
delete
This function will updates the existing type object Args: gid: Server Group ID sid: Server ID did:
web/pgadmin/browser/server_groups/servers/databases/schemas/types/__init__.py:1156
↓ 5 callers
Method
delete_domain
This function returns the domain delete response :return: domain delete response
web/pgadmin/browser/server_groups/servers/databases/schemas/domains/tests/test_domain_delete.py:44
↓ 5 callers
Function
delete_function
(self, utils)
web/pgadmin/tools/debugger/tests/utils.py:13
↓ 5 callers
Method
delete_user_mapping
This function returns the user mapping delete response :return: user mapping delete response
web/pgadmin/browser/server_groups/servers/databases/foreign_data_wrappers/foreign_servers/user_mappings/tests/test_user_mapping_delete.py:50
↓ 5 callers
Function
estimate_tokens
Estimate the number of tokens in a text string. Uses provider-specific character-per-token ratios and applies a multiplier for SQL-heavy cont
web/pgadmin/llm/compaction.py:72
↓ 5 callers
Method
execute
Execute function ``prepare`` and ``binary`` are forwarded so this cursor stays substitutable for ``psycopg.Cursor``. ``psyco
web/pgadmin/utils/driver/psycopg3/cursor.py:188
↓ 5 callers
Function
executeCmd
(cmd)
web/pgadmin/tools/sqleditor/static/js/components/sections/MainToolBar.jsx:346
↓ 5 callers
Function
execute_query
(tester, query, start_query_tool_url, poll_url)
web/pgadmin/tools/sqleditor/tests/execute_query_test_utils.py:16
↓ 5 callers
Method
fetch_csrf
(self, res)
web/regression/python_test_utils/csrf_test_client.py:76
↓ 5 callers
Method
fill_input_by_css_selector
(self, css_selector, field_content, input_keys=False,
web/regression/feature_utils/pgadmin_page.py:930
↓ 5 callers
Method
findNode
(path)
web/pgadmin/static/js/tree/tree_nodes.ts:53
↓ 5 callers
Function
flattenSelectOptions
(options)
web/pgadmin/static/js/components/FormComponents.jsx:882
↓ 5 callers
Method
flush
(self)
web/regression/runtests.py:468
↓ 5 callers
Function
format_boolean_array
Converts to proper array data for sql Args: value: data to be converted Returns: Converted data
web/pgadmin/browser/server_groups/servers/pgagent/utils.py:14
↓ 5 callers
Method
format_request_acls
(self, data, modified=False, specific=None)
web/pgadmin/browser/server_groups/servers/databases/schemas/__init__.py:348
↓ 5 callers
Method
from_state
Rebuild an Azure instance from a previously-serialized dict. Bypasses `__init__` (which references `current_user.username`) so this w
web/pgadmin/misc/cloud/azure/__init__.py:312
↓ 5 callers
Function
fs_short_path
Gets the short path name of a given long path. http://stackoverflow.com/a/23598461/200291
web/pgadmin/utils/__init__.py:174
↓ 5 callers
Function
getDatabaseLabel
(parentData)
web/pgadmin/tools/sqleditor/static/js/sqleditor_title.js:17
↓ 5 callers
Function
getFieldDepChange
(schema, id)
web/regression/javascript/schema_ui_files/exclusion_constraint.ui.spec.js:37
↓ 5 callers
Function
getFunctionId
(treeInfoObject)
web/pgadmin/tools/debugger/static/js/debugger_utils.js:12
↓ 5 callers
Method
getPlaceHolderMsg
(variable)
web/pgadmin/browser/server_groups/servers/static/js/variable.ui.js:86
↓ 5 callers
Method
getSQL
This function will generate sql from model data. :param kwargs :return:
web/pgadmin/browser/server_groups/servers/databases/schemas/packages/__init__.py:598
↓ 5 callers
Function
getServerColors
(serverIcon)
web/pgadmin/static/js/utils.js:245
↓ 5 callers
Method
getSourcePort
()
web/regression/javascript/erd/fake_item.js:45
↓ 5 callers
Function
getSwitchCell
()
web/pgadmin/static/js/components/PgReactTableStyled.jsx:420
↓ 5 callers
Method
getTargetPort
()
web/regression/javascript/erd/fake_item.js:47
↓ 5 callers
Method
get_column_info
This function will returns list of columns for last async sql command executed on the server.
web/pgadmin/utils/driver/psycopg3/connection.py:1655
↓ 5 callers
Method
get_compound_trigger
(self)
web/pgadmin/browser/server_groups/servers/databases/schemas/tables/compound_triggers/tests/test_compound_triggers_get.py:79
↓ 5 callers
Function
get_current_time
(format='%Y-%m-%d %H:%M:%S.%f %z')
web/pgadmin/misc/bgprocess/process_executor.py:138
↓ 5 callers
Function
get_icon_css_class
Returns css value :param group_id: :param group_user_id: :param default_val: :return: default_val
web/pgadmin/browser/server_groups/__init__.py:32
↓ 5 callers
Method
get_length_precision
(elemoid_or_name, typname=None)
web/pgadmin/browser/server_groups/servers/databases/schemas/utils.py:222
↓ 5 callers
Method
get_registered_nodes
This function will return the node's view object if node name is specified or return the complete list of registered nodes.
web/pgadmin/tools/schema_diff/node_registry.py:28
↓ 5 callers
Function
get_replication_type
(conn, sversion)
web/pgadmin/browser/server_groups/servers/utils.py:574
↓ 5 callers
Method
get_schema_and_table_name
This function will fetch the schema qualified name of the given table id. :param tid: Table Id.
web/pgadmin/browser/server_groups/servers/databases/schemas/tables/utils.py:2084
↓ 5 callers
Method
get_source
(self, environment, template)
web/pgadmin/utils/versioned_template_loader.py:14
← previous
next →
501–600 of 9,964, ranked by callers