During a direct SQL query's execution, a special object called this is used to
reference column values in the result set. Each column selected from the result set can be referenced as
this.
column_name
where
column_name
is the name of the column.
Additionally, an object called sql is created with meta-information about the query.
These pieces of information include the number of the current row being accessed
(sql.row), the offset of the current row being accessed
(sql.offset), the number of rows last selected by a SQL query
(sql.numrows), and the number of columns last selected by a SQL query
(sql.numcols, or sql.numfields).