MCPcopy Create free account
hub / github.com/cloudwan/gohan / Query

Method Query

db/sql/sql.go:1010–1012  ·  view source on GitHub ↗
(s *schema.Schema, query string, arguments []interface{})

Source from the content-addressed store, hash-verified

1008}
1009
1010func (tx *Transaction) Query(s *schema.Schema, query string, arguments []interface{}) (list []*schema.Resource, err error) {
1011 return tx.QueryContext(context.Background(), s, query, arguments)
1012}
1013
1014// Query with raw sql string
1015func (tx *Transaction) QueryContext(ctx context.Context, s *schema.Schema, query string, arguments []interface{}) (list []*schema.Resource, err error) {

Callers

nothing calls this directly

Calls 1

QueryContextMethod · 0.95

Tested by

no test coverage detected