Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PostHog/duckgres
/ functions
Functions
5,901 in github.com/PostHog/duckgres
⨍
Functions
5,901
◇
Types & classes
803
↓ 1 callers
Method
testMetabaseSmokeQueries
()
scripts/client-compat/clients/jdbc/src/main/java/com/posthog/compat/JdbcCompatTest.java:323
↓ 1 callers
Method
testMetadata
()
scripts/client-compat/clients/jdbc/src/main/java/com/posthog/compat/JdbcCompatTest.java:227
↓ 1 callers
Method
testNamedPreparedStatementReuse
(String suite)
scripts/client-compat/clients/jdbc/src/main/java/com/duckgres/compat/JdbcCompatTest.java:298
↓ 1 callers
Method
testPreparedStatementReuse
()
scripts/client-compat/clients/jdbc/src/main/java/com/duckgres/compat/JdbcCompatTest.java:532
↓ 1 callers
Function
testPreparedStatements
()
scripts/client-compat/clients/node-postgres/test_node_postgres.js:257
↓ 1 callers
Function
testResultMetadata
()
scripts/client-compat/clients/node-postgres/test_node_postgres.js:309
↓ 1 callers
Method
testResultSetMetaData
()
scripts/client-compat/clients/jdbc/src/main/java/com/duckgres/compat/JdbcCompatTest.java:627
↓ 1 callers
Method
testResultSetMetadata
()
scripts/client-compat/clients/jdbc/src/main/java/com/posthog/compat/JdbcCompatTest.java:294
↓ 1 callers
Function
testSharedQueries
(ctx context.Context, r *reporter)
scripts/client-compat/clients/pgx/main.go:134
↓ 1 callers
Function
testSharedQueries
()
scripts/client-compat/clients/node-postgres/test_node_postgres.js:137
↓ 1 callers
Method
testSharedQueries
()
scripts/client-compat/clients/jdbc/src/main/java/com/posthog/compat/JdbcCompatTest.java:125
↓ 1 callers
Method
testSharedQueries
()
scripts/client-compat/clients/jdbc/src/main/java/com/duckgres/compat/JdbcCompatTest.java:123
↓ 1 callers
Function
test_catalog_queries
Run the same introspection queries harlequin-postgres sends on connect.
scripts/client-compat/clients/harlequin/test_harlequin.py:50
↓ 1 callers
Function
test_connection
Verify engine creation and basic connectivity.
scripts/client-compat/clients/sqlalchemy/test_sqlalchemy.py:87
↓ 1 callers
Function
test_connection_properties
(r: &Reporter)
scripts/client-compat/clients/tokio-postgres/src/main.rs:129
↓ 1 callers
Function
test_connection_properties
Verify startup parameters and connection attributes.
scripts/client-compat/clients/psycopg/test_psycopg.py:77
↓ 1 callers
Function
test_copy_to
COPY TO STDOUT — bulk export.
scripts/client-compat/clients/psycopg/test_psycopg.py:306
↓ 1 callers
Function
test_core_ddl_dml
SQLAlchemy Core: Table, insert, select, update, delete.
scripts/client-compat/clients/sqlalchemy/test_sqlalchemy.py:127
↓ 1 callers
Function
test_cursor_metadata
cursor.description after SELECT — drivers and ORMs rely on this.
scripts/client-compat/clients/psycopg/test_psycopg.py:225
↓ 1 callers
Function
test_dbt_catalog
Run dbt docs generate — heavy catalog introspection.
scripts/client-compat/clients/dbt/test_dbt.py:185
↓ 1 callers
Function
test_dbt_debug
Run dbt debug — tests connection and catalog introspection.
scripts/client-compat/clients/dbt/test_dbt.py:139
↓ 1 callers
Function
test_dbt_run
Run dbt run — materializes models (view + table).
scripts/client-compat/clients/dbt/test_dbt.py:155
↓ 1 callers
Function
test_dbt_test
Run dbt test — schema tests (not_null, unique).
scripts/client-compat/clients/dbt/test_dbt.py:170
↓ 1 callers
Function
test_ddl_dml
(r: &Reporter)
scripts/client-compat/clients/tokio-postgres/src/main.rs:203
↓ 1 callers
Function
test_ddl_dml
CREATE TABLE, INSERT, SELECT, UPDATE, DELETE.
scripts/client-compat/clients/psycopg/test_psycopg.py:132
↓ 1 callers
Function
test_dict_cursor
RealDictCursor — used by many Python apps for dict-style row access.
scripts/client-compat/clients/psycopg/test_psycopg.py:284
↓ 1 callers
Function
test_executemany
executemany — batch inserts used by ORMs and ETL tools.
scripts/client-compat/clients/psycopg/test_psycopg.py:253
↓ 1 callers
Function
test_harlequin_startup
Launch harlequin with a pseudo-terminal and verify it connects without crashing.
scripts/client-compat/clients/harlequin/test_harlequin.py:171
↓ 1 callers
Function
test_inspection
SQLAlchemy inspect() — reflection of existing schema.
scripts/client-compat/clients/sqlalchemy/test_sqlalchemy.py:291
↓ 1 callers
Function
test_orm
SQLAlchemy ORM: mapped classes, Session, add, query, delete.
scripts/client-compat/clients/sqlalchemy/test_sqlalchemy.py:220
↓ 1 callers
Function
test_pgadmin_connect_sequence
Replay pgAdmin's connection sequence — the queries it fires when you register a server and expand the browser tree.
scripts/client-compat/clients/pgadmin/test_pgadmin.py:111
↓ 1 callers
Function
test_prepared_statements
(r: &Reporter)
scripts/client-compat/clients/tokio-postgres/src/main.rs:365
↓ 1 callers
Function
test_raw_params
Parameterized queries via text() with :param style.
scripts/client-compat/clients/sqlalchemy/test_sqlalchemy.py:318
↓ 1 callers
Function
test_shared_queries
Run all queries from shared queries.yaml via text().
scripts/client-compat/clients/sqlalchemy/test_sqlalchemy.py:107
↓ 1 callers
Function
test_shared_queries
(r: &Reporter)
scripts/client-compat/clients/tokio-postgres/src/main.rs:169
↓ 1 callers
Function
test_shared_queries
Run the shared query catalog via psycopg2.
scripts/client-compat/clients/dbt/test_dbt.py:97
↓ 1 callers
Function
test_shared_queries
Run all queries from the shared queries.yaml file.
scripts/client-compat/clients/pgadmin/test_pgadmin.py:88
↓ 1 callers
Function
test_shared_queries
Run all queries from the shared queries.yaml file.
scripts/client-compat/clients/harlequin/test_harlequin.py:144
↓ 1 callers
Function
test_shared_queries
Run all queries from the shared queries.yaml file.
scripts/client-compat/clients/psycopg/test_psycopg.py:109
↓ 1 callers
Function
timestampToTime
(val arrow.Timestamp, unit arrow.TimeUnit)
server/flightclient/flight_executor.go:812
↓ 1 callers
Function
topLevelJSONKeys
topLevelJSONKeys returns the sorted top-level object keys of a JSON body, or nil if it isn't a JSON object. Used to audit WHICH warehouse sections a P
controlplane/admin/api.go:679
↓ 1 callers
Method
transformAlterTableStmt
transformAlterTableStmt handles ALTER TABLE statements for DuckLake compatibility. DuckDB only supports one ALTER command per statement, so multi-comm
transpiler/transform/ddl.go:365
↓ 1 callers
Method
transformCreateStmt
transformCreateStmt modifies a CREATE TABLE statement for DuckLake compatibility. Unenforceable constraints (PK/UNIQUE/CHECK/FK) and silently-NULL dat
transpiler/transform/ddl.go:149
↓ 1 callers
Method
transformDeleteStmt
(stmt *pg_query.DeleteStmt)
transpiler/transform/operators.go:301
↓ 1 callers
Function
transformErrSQLState
transformErrSQLState extracts the SQLSTATE from a transform error.
transpiler/transform/ddl_test.go:214
↓ 1 callers
Method
transformFromClause
(node *pg_query.Node)
transpiler/transform/funcalias.go:97
↓ 1 callers
Method
transformFuncCall
(fc *pg_query.FuncCall)
transpiler/transform/functions.go:229
↓ 1 callers
Method
transformInsert
(insert *pg_query.InsertStmt)
transpiler/transform/onconflict.go:382
↓ 1 callers
Method
transformInsertStmt
(stmt *pg_query.InsertStmt)
transpiler/transform/operators.go:240
↓ 1 callers
Method
transformInsertToMerge
transformInsertToMerge converts INSERT ... ON CONFLICT to MERGE for DuckLake mode
transpiler/transform/onconflict.go:76
↓ 1 callers
Method
transformSQLValueFunction
transformSQLValueFunction rewrites the precision forms LOCALTIME(p), LOCALTIMESTAMP(p), CURRENT_TIME(p) and CURRENT_TIMESTAMP(p) to their bare same-fa
transpiler/transform/functions.go:210
↓ 1 callers
Method
transformSelectStmt
(stmt *pg_query.SelectStmt)
transpiler/transform/expandarray.go:51
↓ 1 callers
Method
transformUpdateStmt
(stmt *pg_query.UpdateStmt)
transpiler/transform/operators.go:262
↓ 1 callers
Function
trimLeadingSQLComments
(sql string)
tests/perf/core/catalog.go:114
↓ 1 callers
Function
truncateQuery
truncateQuery truncates a query for display
tests/integration/setup_test.go:401
↓ 1 callers
Method
tryAcquireOrgConnectionLeaseOnce
(requestID string, limitLookup func(string) OrgResourceLimits)
controlplane/configstore/org_connections.go:119
↓ 1 callers
Method
txnCount
()
server/flightsqlingress/ingress.go:1298
↓ 1 callers
Function
unhexFuncCall
unhexFuncCall builds unhex('<hex>'), which DuckDB evaluates to a BLOB.
transpiler/transform/literals.go:83
↓ 1 callers
Function
updateChip
(el: HTMLElement, pod: any, k: string)
controlplane/admin/ui/src/pages/nodes/peepernetes.ts:401
↓ 1 callers
Method
updateOrg
(c *gin.Context)
controlplane/admin/api.go:559
↓ 1 callers
Function
updateReturningReadsModifiedColumn
updateReturningReadsModifiedColumn reports whether an UPDATE's RETURNING list references, by name, a column the UPDATE modifies (so the pre-update cap
transpiler/transform/writablecte.go:403
↓ 1 callers
Method
updateToSelect
updateToSelect converts UPDATE...FROM...WHERE...RETURNING to equivalent SELECT
transpiler/transform/writablecte.go:447
↓ 1 callers
Method
updateUser
(c *gin.Context)
controlplane/admin/api.go:1075
↓ 1 callers
Method
upsertOperator
(c *gin.Context)
controlplane/admin/operators_api.go:46
↓ 1 callers
Function
useAudit
(params: { actor?: string; org?: string })
controlplane/admin/ui/src/hooks/useApi.ts:451
↓ 1 callers
Function
useCancelSession
()
controlplane/admin/ui/src/hooks/useApi.ts:332
↓ 1 callers
Function
useClusterSummary
()
controlplane/admin/ui/src/hooks/useApi.ts:85
↓ 1 callers
Function
useCreateUser
()
controlplane/admin/ui/src/hooks/useApi.ts:212
↓ 1 callers
Function
useDeleteOperator
()
controlplane/admin/ui/src/hooks/useApi.ts:429
↓ 1 callers
Function
useDeleteOrg
()
controlplane/admin/ui/src/hooks/useApi.ts:130
↓ 1 callers
Function
useDeleteUser
()
controlplane/admin/ui/src/hooks/useApi.ts:229
↓ 1 callers
Function
useDeleteUserSecret
()
controlplane/admin/ui/src/hooks/useApi.ts:278
↓ 1 callers
Function
useDeprovisionWarehouse
(id: string)
controlplane/admin/ui/src/hooks/useApi.ts:157
↓ 1 callers
Function
useDisableUser
()
controlplane/admin/ui/src/hooks/useApi.ts:254
↓ 1 callers
Function
useDucklingDrift
()
controlplane/admin/ui/src/hooks/useApi.ts:175
↓ 1 callers
Function
useEnableUser
()
controlplane/admin/ui/src/hooks/useApi.ts:262
↓ 1 callers
Function
useErrors
(filters: ErrorFilters)
controlplane/admin/ui/src/hooks/useApi.ts:324
↓ 1 callers
Function
useImpersonateQuery
()
controlplane/admin/ui/src/hooks/useApi.ts:442
↓ 1 callers
Function
useMe
(opts?: Partial<UseQueryOptions<Me>>)
controlplane/admin/ui/src/hooks/useApi.ts:64
↓ 1 callers
Function
useMetricsPanels
()
controlplane/admin/ui/src/hooks/useApi.ts:364
↓ 1 callers
Function
useModels
()
controlplane/admin/ui/src/hooks/useApi.ts:389
↓ 1 callers
Function
useOperators
()
controlplane/admin/ui/src/hooks/useApi.ts:409
↓ 1 callers
Function
useOrg
(id: string | undefined)
controlplane/admin/ui/src/hooks/useApi.ts:112
↓ 1 callers
Function
useQueries
()
controlplane/admin/ui/src/hooks/useApi.ts:290
↓ 1 callers
Function
useQueryDetail
(workerId: number | null)
controlplane/admin/ui/src/hooks/useApi.ts:302
↓ 1 callers
Function
useSessions
()
controlplane/admin/ui/src/hooks/useApi.ts:312
↓ 1 callers
Function
useUpdateOrg
(id: string)
controlplane/admin/ui/src/hooks/useApi.ts:120
↓ 1 callers
Function
useUpdateUser
()
controlplane/admin/ui/src/hooks/useApi.ts:220
↓ 1 callers
Function
useUpdateWarehouse
(id: string)
controlplane/admin/ui/src/hooks/useApi.ts:146
↓ 1 callers
Function
useUserSecrets
(org: string | undefined, username: string | undefined)
controlplane/admin/ui/src/hooks/useApi.ts:270
↓ 1 callers
Function
useWarehouse
(id: string | undefined)
controlplane/admin/ui/src/hooks/useApi.ts:138
↓ 1 callers
Function
useWorkers
()
controlplane/admin/ui/src/hooks/useApi.ts:345
↓ 1 callers
Method
valid
(now time.Time, idleTTL time.Duration)
server/querylog_kafka_writer.go:911
↓ 1 callers
Function
validateCatalog
(c Catalog)
tests/perf/core/catalog.go:30
↓ 1 callers
Function
validateDucklingOrgID
(orgID string)
controlplane/provisioning/api.go:60
↓ 1 callers
Function
validateHostnameAlias
validateHostnameAlias enforces that an alias is a valid single DNS label (RFC 1035): alphanumeric + hyphens, no leading/trailing hyphen, 1–63 characte
controlplane/admin/api.go:783
↓ 1 callers
Function
validateOrgDefaultWorkerProfile
validateOrgDefaultWorkerProfile rejects garbage default-worker-profile values at the API boundary so they can never enter the config store (the contro
controlplane/admin/api.go:748
↓ 1 callers
Function
validateQueryLogKafkaWriterConfig
(cfg QueryLogConfig)
server/querylog_kafka_writer.go:1015
↓ 1 callers
Function
validateReservedWorkerHealth
(result *healthCheckResult)
controlplane/k8s_pool_acquire.go:722
↓ 1 callers
Method
validateSharedStartupConfigMap
(ctx context.Context)
controlplane/shared_startup_config.go:74
← previous
next →
2,801–2,900 of 5,901, ranked by callers