MCPcopy Create free account
hub / github.com/temporalio/temporal / QueryContext

Method QueryContext

common/persistence/sql/sqlplugin/postgresql/db.go:166–173  ·  view source on GitHub ↗
(ctx context.Context, query string, args ...any)

Source from the content-addressed store, hash-verified

164}
165
166func (pdb *db) QueryContext(ctx context.Context, query string, args ...any) (*sql.Rows, error) {
167 db, err := pdb.handle.DB()
168 if err != nil {
169 return nil, err
170 }
171 rows, err := db.QueryContext(ctx, query, args...)
172 return rows, pdb.handle.ConvertError(err)
173}
174
175func (pdb *db) Rebind(query string) string {
176 return pdb.conn().Rebind(query)

Calls 2

DBMethod · 0.80
ConvertErrorMethod · 0.80

Tested by

no test coverage detected