![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/old/vendor/magento/framework/DB/ |
<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ declare(strict_types=1); namespace Magento\Framework\DB; /** * Interface QueryInterface * * @api */ interface QueryInterface { /** * Retrieve source Criteria object * * @return \Magento\Framework\Api\CriteriaInterface */ public function getCriteria(); /** * Retrieve all ids for query * * @return array */ public function getAllIds(); /** * Add variable to bind list * * @param string $name * @param mixed $value * @return void */ public function addBindParam($name, $value); /** * Get collection size * * @return int */ public function getSize(); /** * Get sql select string or object * * @param bool $stringMode * @return string || Select */ public function getSelectSql($stringMode = false); /** * Reset Statement object * * @return void */ public function reset(); /** * Fetch all statement * * @return array */ public function fetchAll(); /** * Fetch statement * * @return mixed */ public function fetchItem(); /** * Get Identity Field Name * * @return string */ public function getIdFieldName(); /** * Retrieve connection object * * @return \Magento\Framework\DB\Adapter\AdapterInterface */ public function getConnection(); /** * Get resource instance * * @return \Magento\Framework\Model\ResourceModel\Db\AbstractDb */ public function getResource(); /** * Add Select Part to skip from count query * * @param string $name * @param bool $toSkip * @return void */ public function addCountSqlSkipPart($name, $toSkip = true); }