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

Method List

db/sql/cached_transaction.go:88–90  ·  view source on GitHub ↗
(s *schema.Schema, filter transaction.Filter, options *transaction.ViewOptions, pg *pagination.Paginator)

Source from the content-addressed store, hash-verified

86}
87
88func (tx *CachedTransaction) List(s *schema.Schema, filter transaction.Filter, options *transaction.ViewOptions, pg *pagination.Paginator) (list []*schema.Resource, total uint64, err error) {
89 return tx.ListContext(context.Background(), s, filter, options, pg)
90}
91
92//List resources in the db
93func (tx *CachedTransaction) ListContext(ctx context.Context, s *schema.Schema, filter transaction.Filter, options *transaction.ViewOptions, pg *pagination.Paginator) (list []*schema.Resource, total uint64, err error) {

Callers

nothing calls this directly

Calls 1

ListContextMethod · 0.95

Tested by

no test coverage detected