Typescript function : Create an Action type

Hello,

In typescript :

  1. The first point : In my typescript function, i will like to create an action type so the primary key is a concatenation of more columns. For exemple :
    I will like to replace :

    ```const uniqueIdentifier1 = Uuid.random();
    
            // Create New rows in action type
    
            const createaction = Objects.create().createaction(uniqueIdentifier1)```
    

    It’is possible to remplace “uniqueIdentifier1 “ by “concat_ws(‘_’, col1, col2, col3)” in typescript in create action type ? Please can we help me ?

1 Like

concat() function is not available in TS ( as I know). It is SQL function. If we know the col values, can build the key as a string.

hello,

I know that the TS function is not available in TS.

If you want the values of the columns, they are strings.

My problem is that I would like to enter values in these columns and use them as the primary key for the action type.