What does the "showing" operator do?

Comments

2 comments

  • Avatar
    Ariel

    Hi Clint,

    I am glad that you are using our new Transaction Capability, and we will fix the confusion in the documentation. Showing is not a new parameter. In order to show aggregates other than count, you should use the showing clause. Also the operator count, counts the total number of logs in a transaction as opposed to giving per-state counts. That way in order to count, you need to use the aggregate function sum("1").

    Please let us know if you have any additional comments on the Transaction capability.

    Thanks,

    Ariel 

     

     

     

    0
    Comment actions Permalink
  • Avatar
    Clint Olson

    I'm afraid your answer doesn't really make things clearer for me.  What, specifically, is the syntax of the "showing" operator?  Given the example in the original question, it looks to me like it has three components: showing <function1>, <function2> for <identifier>.  How do the two functions interact?  What does the "for" clause do in this context?  As far as I can tell, these questions aren't answered anywhere in the documentation.

    0
    Comment actions Permalink

Please sign in to leave a comment.