Difference between revisions of "SelectMultiColumn"

From Catglobe Wiki
Jump to: navigation, search
(Created page with "==== selectMultiColumn<br/> ==== Returns an array of row values for a column. '''Syntax''' selectMultiColumn(''columnName'') '''Arguments''' ''columnName:'' Is the name o...")
 
Line 17: Line 17:
 
'''Examples'''
 
'''Examples'''
  
''//print all scores to the console''
+
''//print all Id and UserId to the console''
  
''print(selectMultiColumn(Score) where (true));''
+
''print(selectMultiColumn(Id,''UserId'') where (true));''
 +
 
 +
''//result: &#x7B;&#x7B;1,111},{2,112},{3,113},{4,114&#x7D;&#x7D;''
  
 
'''Availability'''
 
'''Availability'''

Revision as of 05: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