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

Method LockList

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

Source from the content-addressed store, hash-verified

152}
153
154func (tx *CachedTransaction) LockList(s *schema.Schema, filter transaction.Filter, options *transaction.ViewOptions, pg *pagination.Paginator, lockPolicy schema.LockPolicy) (list []*schema.Resource, total uint64, err error) {
155 return tx.LockListContext(context.Background(), s, filter, options, pg, lockPolicy)
156}
157
158func (tx *CachedTransaction) LockListContext(ctx context.Context, s *schema.Schema, filter transaction.Filter, options *transaction.ViewOptions, pg *pagination.Paginator, lockPolicy schema.LockPolicy) (list []*schema.Resource, total uint64, err error) {
159

Callers

nothing calls this directly

Calls 1

LockListContextMethod · 0.95

Tested by

no test coverage detected