Toggle menu
862
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

SelectMultiColumn: Difference between revisions

From Catglobe Wiki
No edit summary
No edit summary
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 03: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