MCPcopy Create free account
hub / github.com/corestoreio/pkg / WithLoadFromDB

Function WithLoadFromDB

store/options_db.go:30–63  ·  view source on GitHub ↗

WithLoadFromDB loads the store,group and website data from the database. Before loading it clears the cache. This function panics if the tables do not exists in the ddl.Tables object.

(ctx context.Context, tbls *ddl.Tables)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 7

MustTableMethod · 0.80
LockMethod · 0.80
ValidateMethod · 0.65
WithDBRMethod · 0.45
SelectMethod · 0.45
ClearCacheMethod · 0.45
LoadMethod · 0.45

Tested by

no test coverage detected