ch . result()

Read(1114) Label: channel, 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.

Parameter:

ch

Channel

Return value:

Channel

Example:

 

A

 

1

=demo.cursor("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 cursor into A2’s channel.

6

=A1.fetch()

 

7

=A2.result()

Get result from the channel