2022
...
Wiki Markup |
---|
Note : _In this example we are using the AppCode as a writer and not a reader. However, as explained in the previous sections, we can use the AppCode as a source as well from where we do a_ *{_}read{_}* _operation. In that case, we need to pass a SELECT statement as an input query which would be converted into a filter. The filter params are passed in the where condition as key='value' comma separated. The structure of the same is given below:_ select * from <tablename> where \[\]SaveResult\[\] <methodName>(List<InputMetadataParameter> ) |
...
Code Block |
---|
Received input parameter:id:C02710:name:Name07_Updated Writing value:Hello:Name07_Updated:a93d1c72-4b4b-43aa-af42-5c9d27629b0e Received input parameter:id:C02720:name:Name08_Updated Writing value:Hello:Name08_Updated:a93d1c72-4b4b-43aa-af42-5c9d27629b0e Received input parameter:id:C02730:name:Cronus Cardoxy Sales Writing value:Hello:Cronus Cardoxy Sales:a93d1c72-4b4b-43aa-af42-5c9d27629b0e Received input parameter:id:C02740:name:Cronus Cardoxy Procurement Writing value:Hello:Cronus Cardoxy Procurement:a93d1c72-4b4b-43aa-af42-5c9d27629b0e Received input parameter:id:IC1020:name:Cronus Cardoxy Sales Writing value:Hello:Cronus Cardoxy Sales:a93d1c72-4b4b-43aa-af42-5c9d27629b0e Received input parameter:id:IC1030:name:Cronus Cardoxy Procurement Writing value:Hello:Cronus Cardoxy Procurement:a93d1c72-4b4b-43aa-af42-5c9d27629b0e Hello World AppCode close called:a93d1c72-4b4b-43aa-af42-5c9d27629b0e |
The “Reader” output in the console looks something like this:
Code Block |
---|
<row db__id="65">
<id type="string">C02580</id>
<name>London Candoxy Storage Campus</name>
<value />
</row><row db__id="66">
<id type="string">C02590</id>
<name>Elkhorn Airport</name>
<value />
</row><row db__id="67">
<id type="string">C02600</id>
<name>Candoxy Canada Inc.</name>
<value />
</row><row db__id="68">
<id type="string">C02610</id>
<name>New Concepts Furniture</name>
<value />
</row>
|