% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/query.R
\name{cloudos.query_results}
\alias{cloudos.query_results}
\title{Fetch Async Query Results}
\usage{
cloudos.query_results(profilename = "", task_id = "")
}
\arguments{
\item{profilename}{Character. Name of the configured profile to use. If empty or NULL, uses the default profile.}

\item{task_id}{Character. Task ID returned from cloudos.query_submit_async().}
}
\value{
Data frame with query results from the page configured at submission time.
}
\description{
Fetches results from a completed async SQL task and returns as a dataframe.
}
\details{
Note: Pagination is controlled when submitting the query via cloudos.query_submit_async(),
not when fetching results. This function returns whatever page the task was configured for.
}
\examples{
\dontrun{
  # Fetch results for a task (returns the page configured when query was submitted)
  results <- cloudos.query_results(
    profilename = "production",
    task_id = "69a5c58d626fe626da0025ce"
  )
}
}
