Answers for "get collection select qurey"

0

get collection select qurey

$collection->load();

// the following statements are equivalent
$collection->getSelect()->assemble();
$collection->getSelect()->__toString();
echo $collection->getSelect(); // will call magic method __toString() behind the scenes which in turn calls assemble()
Posted by: Guest on September-17-2021

Browse Popular Code Answers by Language