Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8557

Re: what is the dfferent between "collapsecontexts() and removecontext()"???

$
0
0

Hi,

 

split by value:

The SplitByValue() function is the counterpart to removeContexts(): Instead of deleting a context, you can insert a context change in the source value queue. You then receive this element for each inserted context change instead

of a top node element.

 

removeContext

You can use removeContext() to delete all the top contexts for an element. This deletes all top hierarchy levels, so that all elements of the target queue are assigned to a root element of the source queue

 

collapseContexts

collapseContexts()copies the first value from all contexts to one context. Empty contexts are replaced with an empty string

 

For examlpe

 

if your queue has a total of 4 values.

 

Your queue is:

12

45

context change

1

context change

4

 

if you use collapse context and split by value your queue will look like this

 

Your queue will look like this:

12

context change

1

context change

4

 

if you use remove context and split by value your queue will look like this

 

 

Your queue will look like this:

12

context change

45

context change

1

context change

4

 

Best Regards,

Monikandan


Viewing all articles
Browse latest Browse all 8557

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>