\HeaderA{aRTtable-createColumn}{Create a column}{aRTtable.Rdash.createColumn}
\aliasA{createColumn}{aRTtable-createColumn}{createColumn}
\aliasA{createColumn,aRTtable-method}{aRTtable-createColumn}{createColumn,aRTtable.Rdash.method}
\keyword{database}{aRTtable-createColumn}
\begin{Description}\relax
Create a new column in a table.
\end{Description}
\begin{Usage}
\begin{verbatim}
## S4 method for signature 'aRTtable':
createColumn(object, colname="name", type="s", length=5, key=F, decimals=3)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{object}] Object of class \code{aRTtable}.
\item[\code{colname}] A list of columns.
\item[\code{type}] string representing the column type (see below).
\item[\code{length}] The maximum length of the values if they are strings.
\item[\code{key}] If the column will have unique values.
\item[\code{decimals}] Max number of decimal.
\end{ldescription}
\end{Arguments}
\begin{Section}{Culumn Types}
\describe{
\item[i] integer
\item[d] decimal (=i)
\item[s] string
\item[c] character (=s)
\item[f] float
\item[b] boolean
\item[l] logical (=b)
}
\end{Section}
\begin{Author}\relax
Pedro Ribeiro de Andrade Neto
\end{Author}
\begin{SeeAlso}\relax
See \code{aRTtable-class} to show the description of this class.
\end{SeeAlso}

