Requests processed: 3
---
SELECT
id, parentId, name, title
FROM
articlesGroups
WHERE
name = 'tehnofon_menu_bottom'
---
---
SELECT
articles.id AS `articles.id`, articles.text AS `articles.text`, articles.position AS `articles.position`, articles.name AS `articles.name`, article_articlesGroup.groupId AS `articles.groupId`
FROM
articles
JOIN article_articlesGroup
ON articles.id = article_articlesGroup.articleId
WHERE
article_articlesGroup.groupId = 5
ORDER BY
position
---
---
SELECT
id, parentId, typeId, name
FROM
goodsGroups
WHERE
showInList = 1 AND
parentId IS NULL
ORDER BY
position, name
---
---
SELECT
id, clientId, comparsionId, orderId, hash, creationDate, expirationDate, referer
FROM
sessions
WHERE
hash = '20d4611039dcc8bbbd31ba3efabfa2c6'
---
---
SELECT
id, parentId, name, title
FROM
articlesGroups
WHERE
name = 'tehnofon_menu_top'
---
---
SELECT
articles.id AS `articles.id`, articles.text AS `articles.text`, articles.position AS `articles.position`, articles.name AS `articles.name`, article_articlesGroup.groupId AS `articles.groupId`
FROM
articles
JOIN article_articlesGroup
ON articles.id = article_articlesGroup.articleId
WHERE
article_articlesGroup.groupId = 1
ORDER BY
position
---
---
SELECT
id, showInList, position, name, image
FROM
vendors
WHERE
showInList = 1
ORDER BY
position, name
---
---
SELECT
id, sourceId, statusId, deliveryRegionId, paymentTypeId, clientId, deliveryCityId, timeFrom, timeTo, clientName, clientPhoneMobile, clientSubwayStation, madeFrom, deliveryDate, referer, deliveryPrice, sourceName, totalPrice, clientEmail, comment, creationDate, clientAddress, siteId, postalCode, clientPhoneHome
FROM
orders
WHERE
id = 694926
---
---
SELECT
id, name
FROM
orderSources
---
---
SELECT
id, name, commission
FROM
paymentTypes
---
---
SELECT
id, deliveryTime, name
FROM
deliveryRegions
ORDER BY
name
---
---
SELECT
goodsVariants.id AS `goodsVariants.id`, goodsVariants.colorId AS `goodsVariants.colorId`, goodsVariants.goodsId AS `goodsVariants.goodsId`, goodsVariants.oldPrice AS `goodsVariants.oldPrice`, goodsVariants.isPrimary AS `goodsVariants.isPrimary`, goodsVariants.quantity AS `goodsVariants.quantity`, goodsVariants.barcode AS `goodsVariants.barcode`, goodsVariants.discount AS `goodsVariants.discount`, goodsVariants.stockKeepingUnit AS `goodsVariants.stockKeepingUnit`, goodsVariants.price AS `goodsVariants.price`, goodsVariants.showInYandex AS `goodsVariants.showInYandex`, goodsVariants.yandexRate AS `goodsVariants.yandexRate`, order_goodsVariant.orderId AS `goodsVariants.orderId`, order_goodsVariant.quantity AS `order_goodsVariant.quantity`, order_goodsVariant.price AS `order_goodsVariant.price`
FROM
goodsVariants
JOIN order_goodsVariant
ON goodsVariants.id = order_goodsVariant.goodsVariantId
WHERE
order_goodsVariant.orderId = 694926
---
---
SELECT
id, countryId, propertiesGroupId, statusId, goodsGroupId, vendorId, complectation, name, salesNotes, description, size, weight, warranty
FROM
goods
WHERE
id IN(441, 442, 556, 592, 553, 636, 639, 763, 1035, 1512, 1521)
---
---
SELECT
id, goodsVariantId, isPrimary, fileName, typeId
FROM
images
WHERE
goodsVariantId IN(478, 479, 711, 773, 802, 834, 842, 1106, 1635, 2426, 2441)
---
---
SELECT
id, name
FROM
colors
WHERE
id IN(1, 10, 34)
---
---
SELECT
id, showInList, position, name, image
FROM
vendors
WHERE
id = 47
---
---
SELECT
id, showInList, position, name, image
FROM
vendors
WHERE
id = 47
---
---
SELECT
id, showInList, position, name, image
FROM
vendors
WHERE
id = 4
---
---
SELECT
id, showInList, position, name, image
FROM
vendors
WHERE
id = 1
---
---
SELECT
id, showInList, position, name, image
FROM
vendors
WHERE
id = 27
---
---
SELECT
id, showInList, position, name, image
FROM
vendors
WHERE
id = 27
---
---
SELECT
id, showInList, position, name, image
FROM
vendors
WHERE
id = 17
---
---
SELECT
id, showInList, position, name, image
FROM
vendors
WHERE
id = 29
---
---
SELECT
id, showInList, position, name, image
FROM
vendors
WHERE
id = 5
---
---
SELECT
id, showInList, position, name, image
FROM
vendors
WHERE
id = 1
---
---
SELECT
id, showInList, position, name, image
FROM
vendors
WHERE
id = 37
---
---
SELECT
id, colorId, goodsId, oldPrice, isPrimary, quantity, barcode, discount, stockKeepingUnit, price, showInYandex, yandexRate
FROM
goodsVariants
WHERE
id = 1987
---
---
SELECT
id, name
FROM
colors
WHERE
id = 10
---
---
SELECT
id, goodsVariantId, isPrimary, fileName, typeId
FROM
images
WHERE
goodsVariantId = 1987
---
---
SELECT
id, countryId, propertiesGroupId, statusId, goodsGroupId, vendorId, complectation, name, salesNotes, description, size, weight, warranty
FROM
goods
WHERE
id = 1218
---
---
SELECT
id, showInList, position, name, image
FROM
vendors
WHERE
id = 4
---
---
INSERT INTO order_goodsVariant
(goodsVariantId, orderId, quantity, price)
VALUES
(1987, 694926, 1, 0)
---
---
SELECT
id, parentId, typeId, showInList, position, name
FROM
goodsGroups
WHERE
id = 40
---
---
SELECT
id, parentId, typeId, showInList, position, name
FROM
goodsGroups
WHERE
id = 40
---
---
SELECT
id, parentId, typeId, showInList, position, name
FROM
goodsGroups
WHERE
id = 69
---
---
SELECT
id, parentId, typeId, showInList, position, name
FROM
goodsGroups
WHERE
id = 21
---
---
SELECT
id, parentId, typeId, showInList, position, name
FROM
goodsGroups
WHERE
id = 19
---
---
SELECT
id, parentId, typeId, showInList, position, name
FROM
goodsGroups
WHERE
id = 19
---
---
SELECT
id, parentId, typeId, showInList, position, name
FROM
goodsGroups
WHERE
id = 52
---
---
SELECT
id, parentId, typeId, showInList, position, name
FROM
goodsGroups
WHERE
id = 18
---
---
SELECT
id, parentId, typeId, showInList, position, name
FROM
goodsGroups
WHERE
id = 30
---
Can't call method "foreignKey" on an undefined value