Difference between revisions of "SelectMultiColumn"

From Catglobe Wiki
Jump to: navigation, search
(Tag: visualeditor-switched)
 
(One intermediate revision by one other user not shown)
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}}''
Line 26: Line 26:
  
 
Version 5.8 __NOTOC__
 
Version 5.8 __NOTOC__
<!-- imported from file: 765.htm-->
+
[[Category:Functions_Used_in_where_Expressions]]

Latest revision as of 09: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