MCPcopy Create free account
hub / github.com/PostHog/duckgres / Exec

Method Exec

server/attach_timeout.go:90–92  ·  view source on GitHub ↗

Exec runs query with the default attachStepTimeout. It satisfies duckLakeSQLExecer so the execer can be passed straight into applyDuckLakePreAttachSettingsWith / configureDuckLakeMetadataPool / loadExtensionsWith.

(query string, args ...any)

Source from the content-addressed store, hash-verified

88// applyDuckLakePreAttachSettingsWith / configureDuckLakeMetadataPool /
89// loadExtensionsWith.
90func (a *attachStepExecer) Exec(query string, args ...any) (sql.Result, error) {
91 return a.execTimeout(attachStepTimeout, query, args...)
92}
93
94// execTimeout runs query with an explicit deadline (use
95// attachStatementTimeout for ATTACH statements).

Callers

nothing calls this directly

Calls 1

execTimeoutMethod · 0.95

Tested by

no test coverage detected