/** * Run the query as a "select" statement against the connection. * * @return array */ protected function runSelect() { if ($this->useWritePdo) { return $this->connection->select($this->toSql(), $this->getBindings(), false); } return $this->connection->select($this->toSql(), $this->getBindings()); }
/** * Get the column listing for a given table. * * @param string $table * @return array */ public function getColumnListing($table) { $table = $this->connection->getTablePrefix() . $table; $results = $this->connection->select($this->grammar->compileColumnExists($table)); return $this->connection->getPostProcessor()->processColumnListing($results); }
/** * Run the query as a "select" statement against the connection. * * @return array */ protected function runSelect() { return $this->connection->select($this->toSql(), $this->getBindings()); }