T.conj()

Description:

Define a computation on a pseudo table, which splits each of its records and concatenates the result records.

Syntax:

T.conj(x)

Note:

The function defines a computation on pseudo table T, where each record will be split into a sequence or a record sequence according to computing expression x and members or records in the splitting result will be concatenated, and returns a new pseudo table.

Parameter:

T

A pseudo table

x

An expression that returns a record sequence or a table sequence

Return value:

Pseudo table

Example:

 

A

 

1

=create(file).record(["gymn.ctx"])

Below is content of composite table gymn.ctx:

2

=pseudo(A1)

Return a pseudo table object.

3

=A2.conj(create(ID,NAME,COUNTRY,SUBJECT,SCORES).record([ID,NAME,COUNTRY

,"VAULT",VAULT,ID,NAME,COUNTRY,"UNEVENBARS",UNEVENBARS

,ID,NAME,COUNTRY,"BALANCEBEAM",BALANCEBEAM,ID,NAME,COUNTRY,"FLOOR",FLOOR]))

Define a computation on A2’s pseudo table, which splits each of its records and concatenates records in the splitting result, and return a new pseudo table.

4

=A3.cursor().fetch()

Fetch data from A3’s pseudo table while the defined computation in A3 is executed on A2’s pseudo table, and return the following content: