Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
ForUpdateRenderer.php
Go to the documentation of this file.
1 <?php
7 
9 
14 {
23  public function render(Select $select, $sql = '')
24  {
25  if ($select->getPart(Select::FOR_UPDATE)) {
26  $sql .= ' ' . Select::SQL_FOR_UPDATE;
27  }
28  return $sql;
29  }
30 }
const FOR_UPDATE
Definition: Select.php:57
const SQL_FOR_UPDATE
Definition: Select.php:76