且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

hybris impex里的小括号语法

更新时间:2022-09-10 19:53:54

如下图所示:




INSERT_UPDATE Product;code[unique=true];$supercategories;manufacturerName;manufacturerAID;unit(code);ean;variantType(code);$catalogVersion;$approved

;23191;1288, brand_5;Sony;ACC-CSPW;pieces;

1

2

默认情况下,ImpEx期望字段值为主键primary key. 下图这串长长的数字,代表 Hybris 单位 “pieces” 的主键。




Since primary keys are not usually known externally, ImpEx alternatively allows using attributes of the referenced item for lookup. They’re provided in brackets immediately after the column attribute name: ‘(’(’,’)* ‘)’.


因为主键一般来说对于外界消费者不可见,

hybris impex里的小括号语法