- Модуль: main
- Путь к файлу: ~/bitrix/modules/main/lib/test/typography/storebooktable.php
- Класс: BitrixMainTestTypographyStoreBookTable
- Вызов: StoreBookTable::getMap
static function getMap()
{
return [
(new IntegerField('STORE_ID'))
->configurePrimary(),
(new Reference('STORE', StoreTable::class,
Join::on('this.STORE_ID', 'ref.ID')))
->configureJoinType('inner'),
(new IntegerField('BOOK_ID'))
->configurePrimary(),
(new Reference('BOOK', BookTable::class,
Join::on('this.BOOK_ID', 'ref.ID')))
->configureJoinType('inner'),
(new IntegerField('QUANTITY'))
->configureDefaultValue(0)
];
}