stmt:columns

Returns number of columns in the result set

Prototype

stmt:columns()

Description

Returns the number of columns in the result set returned by statement stmt or 0 if the statement does not return data (for example an UPDATE).

Lua functions

Topics