Magento Extensions Rating 2024
EXTENSIONS BY CATEGORY
B2B (Business-To-Business)
Blog
Customer
ERP (Enterprise Resource Planning)
Mega Menu
One Step Checkout
Order
POS (Point Of Sale)
Search
Shopping Cart
Sitemap
SEO
Social
Stock & Inventory Management
EXTENSIONS BY DEVELOPER
aheadWorks
Amasty
Boost My Shop
BSS Commerce
Magestore
MageWorx
Mirasvit
Templates Master
Wyomind
XTENTO
Magento 2 Documentation
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
vendor
magento
framework
DB
Select
DistinctRenderer.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Framework\DB\Select
;
7
8
use
Magento\Framework\DB\Select
;
9
13
class
DistinctRenderer
implements
RendererInterface
14
{
22
public
function
render
(
Select
$select
, $sql =
''
)
23
{
24
if
(
$select
->getPart(
Select::DISTINCT
)) {
25
$sql .=
' '
.
Select::SQL_DISTINCT
.
' '
;
26
}
27
return
$sql;
28
}
29
}
Magento\Framework\DB\Select
Definition:
Select.php:33
Magento\Framework\DB\Select\DistinctRenderer\render
render(Select $select, $sql='')
Definition:
DistinctRenderer.php:22
Magento\Framework\DB\Select\RendererInterface
Definition:
RendererInterface.php:14
$select
$select
Definition:
catalog_rule_10_off_not_logged_rollback.php:14
Zend_Db_Select\DISTINCT
const DISTINCT
Definition:
Select.php:47
Magento\Framework\DB\Select\DistinctRenderer
Definition:
DistinctRenderer.php:13
Magento\Framework\DB\Select
Definition:
ColumnsRenderer.php:6
Zend_Db_Select\SQL_DISTINCT
const SQL_DISTINCT
Definition:
Select.php:72