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

Method LockList

db/sql/sql.go:966–968  ·  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

964}
965
966func (tx *Transaction) LockList(s *schema.Schema, filter transaction.Filter, options *transaction.ViewOptions, pg *pagination.Paginator, lockPolicy schema.LockPolicy) (list []*schema.Resource, total uint64, err error) {
967 return tx.LockListContext(context.Background(), s, filter, options, pg, lockPolicy)
968}
969
970// LockList locks resources in the db
971func (tx *Transaction) 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) {

Callers

nothing calls this directly

Calls 1

LockListContextMethod · 0.95

Tested by

no test coverage detected