MCPcopy
hub / github.com/go-gorm/gorm / Set

Method Set

internal/stmt_store/stmt_store.go:132–134  ·  view source on GitHub ↗
(key string, value *Stmt)

Source from the content-addressed store, hash-verified

130}
131
132func (s *lruStore) Set(key string, value *Stmt) {
133 s.lru.Add(key, value)
134}
135
136func (s *lruStore) Delete(key string) {
137 s.lru.Remove(key)

Callers 1

NewMethod · 0.95

Calls 1

AddMethod · 0.80

Tested by

no test coverage detected