Skip to main content

Hello

I want to create or add a unique key to a row after an transformer like a primary key in a database table just before updated my data. Did you know how to realize this operation ?

 

thanks

The easiest way to do that would be a Counter, which simply counts each feature passing through and assigns it that value.


Ok. I understood this counter could create a sequence number. But, I think I misspoke , I can't to add this key on my row.

single key + data ==> single key | data

What is the correct design workflow to do this operation ?


You can then use an AttributeManager to add that unique key you just made to an existing attribute value.
how to call a sql function which calculates a field from the attribute manager?

how to call a sql function which calculates a field from the attribute manager?

Hi @jerome: If I understand your question, I don't think you necessarily need SQL.  I think this video tutorial will help demonstrate how/where you can leverage existing fields/attributes to calculate another field/attribute.  Hope this helps!


Reply