Difference between revisions of "SelectMultiColumn"

From Catglobe Wiki
Jump to: navigation, search
Line 19: Line 19:
 
''//print all Id and UserId to the console''
 
''//print all Id and UserId to the console''
  
''print(selectMultiColumn(Id,''UserId'') where (true));''
+
''print(selectMultiColumn(Id,UserId) where (true));''
  
 
''//result: {{1,111},{2,112},{3,113},{4,114}}''
 
''//result: {{1,111},{2,112},{3,113},{4,114}}''

Revision as of 04:08, 17 January 2015

selectMultiColumn

Returns an array of row values for a column.

Syntax

selectMultiColumn(columnName)

Arguments

columnName: Is the name of a column in the data table.

Return type

array

Examples

//print all Id and UserId to the console

print(selectMultiColumn(Id,UserId) where (true));

//result: {{1,111},{2,112},{3,113},{4,114}}

Availability

Version 5.8