public function get_column($query, $params = []) {
		$statement = $this->get_statement($query, $params);
		$statement->execute();
		$result = $statement->fetch_assoc();

		$col = [];
		foreach ($result as $row) {
			$col[] = array_shift($row);
		}

		return $col;
	}
public function get_column($query, $params = []) {
		$statement = $this->get_statement($query, $params);
		$statement->execute();
		$result = $statement->fetch_assoc();

		$col = [];
		foreach ($result as $row) {
			$col[] = array_shift($row);
		}

		return $col;
	}
public function get_column ( $ query , $ params = [ ] ) { $ statement = $ this -> get_statement ( $ query , $ params ) ; $ statement -> execute ( ) ; $ result = $ statement -> fetch_assoc ( ) ; $ col = [ ] ; foreach ( $ result as $ row ) { $ col [ ] = array_shift ( $ row ) ; } return $ col ; }
Get the first column of the resultset

@access public
@param string $query The query to execute
@param array $params Optional parameters to replace in the query
@return array $result The resulting associative array
Get the first column of the resultset