result

Read(186) Label: channel, result,

Here’s how to use result() function.

ch. result()

Description:

Get result of an operation performed in a channel.

Syntax:

ch.result()

Note:

The function gets from channel ch the result of performing an operation.

Parameters:

ch

Channel

Return value:

Channel

Example:

 

A

 

1

=demo.query("select * from SALES")

 

2

=channel()

Create a channel

3

=A2.select(ORDERID>100)

Attach ch.select() operation to A2’s channel

4

=A2.fetch()

Attach ch.fetch() function that gets the final result set to A2’s channel to fetch and store the existing data in the channel

5

=A1.push(A2)

Push data in A1’s sequence into A2’s channel

6

=A2.result()

Get result from the channel