% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/querychat_viz.R
\name{extract_visualise_table}
\alias{extract_visualise_table}
\title{Extract the table name from a VISUALISE clause's FROM, if present}
\usage{
extract_visualise_table(visual)
}
\arguments{
\item{visual}{A ggsql VISUALISE string.}
}
\value{
The table name string (possibly quoted), or \code{NULL} if not present.
}
\description{
Looks only in the portion of the visual string before the first DRAW keyword,
so FROM clauses inside DRAW (e.g., MAPPING x FROM other) are ignored.
}
\keyword{internal}
