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...")
 
(Tag: visualeditor-switched)
 
(2 intermediate revisions by one other user not shown)
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'''
  
 
Version 5.8 __NOTOC__
 
Version 5.8 __NOTOC__
<!-- imported from file: 765.htm-->
+
[[Category:Functions_Used_in_where_Expressions]]

Latest revision as of 10:04, 5 June 2017

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