src/class-query-builder.php
public function get( $output = \OBJECT ) {
		global $wpdb;

		$this->last_query = $this->translateSelect();
		$this->reset();

		return $wpdb->get_results( $this->last_query, $output ); // WPCS: unprepared SQL ok.
	}
public function get( $output = \OBJECT ) {
		global $wpdb;

		$this->last_query = $this->translateSelect();
		$this->reset();

		return $wpdb->get_results( $this->last_query, $output ); // WPCS: unprepared SQL ok.
	}
Translate the given query object and return the results

@param string $output (Optional) Any of ARRAY_A | ARRAY_N | OBJECT | OBJECT_K constants.

@return mixed