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

Method initTableNames

_codegen/tableToStruct/table.go:55–76  ·  view source on GitHub ↗

initTable takes care of the correct table name as some tables have different names in Magento2 than in Magento1. Generates a consistent name in field Name for all TableIndex*, Table*Slice and Table* types. This names is guaranteed to be the same whether we run Magento 1 or 2.

(mageVersion int, pkgName, table string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

NewOneTableFunction · 0.95

Calls 1

ReplaceMethod · 0.80

Tested by

no test coverage detected