Result
GetColumnCount
get the number of columns in the table
Calling Sequence
Parameters
Description
Examples
result:-GetColumnCount( )
result
-
Result module
GetColumnCount returns the number of columns in result.
Create a Result.
driver≔DatabaseLoadDriver⁡:
conn≔driver:-OpenConnection⁡url,name,pass:res≔c:-ExecuteQuery⁡SELECT id FROM animals:res:-GetColumnCount⁡
1
res≔c:-ExecuteQuery⁡SELECT id,mass FROM animals:res:-GetColumnCount⁡
2
res≔c:-ExecuteQuery⁡SELECT id,mass,name FROM animals:res:-GetColumnCount⁡
3
res≔c:-ExecuteQuery⁡SELECT id,mass,name,number FROM animals:res:-GetColumnCount⁡
4
See Also
Database
Database[Result]
Database[Result][First]
Database[Result][GotoRow]
Database[Result][Last]
Database[Result][Next]
Database[Result][Previous]
Database[usage]
Download Help Document