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

Function LoadColumns

sql/ddl/columns.go:95–149  ·  view source on GitHub ↗

LoadColumns returns all columns from a list of table names in the current database. Map key contains the table name. Returns a NotFound error if the table is not available. All columns from all tables gets selected when you don't provide the argument `tables`.

(ctx context.Context, db dml.Querier, tables ...string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

WithCreateTableFunction · 0.85
WithLoadTablesFunction · 0.85
ValidateMethod · 0.85

Calls 10

newColumnFunction · 0.85
InterpolateMethod · 0.80
NextMethod · 0.80
QueryContextMethod · 0.65
ErrorfMethod · 0.65
ToSQLMethod · 0.65
CloseMethod · 0.65
ScanMethod · 0.65
StrsMethod · 0.45
ErrMethod · 0.45

Tested by

no test coverage detected