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

Method List

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

Source from the content-addressed store, hash-verified

920}
921
922func (tx *Transaction) List(s *schema.Schema, filter transaction.Filter, options *transaction.ViewOptions, pg *pagination.Paginator) (list []*schema.Resource, total uint64, err error) {
923 return tx.ListContext(context.Background(), s, filter, options, pg)
924}
925
926//List resources in the db
927func (tx *Transaction) 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