LWC send userid to postgis layer column

Dear All,

In case of editing layer I would like to save the userid in a specific column (ie User) in the attribute table of the layer.
I saw some posts quite old like:

So maybe now there is a simpler solution? even because the link is not working anymore.

I did not understand whether LWC users should be saved in sqlite or postgres. For now I have user saved in sqlite

Thanks for your help

One solution, for creating new objets only (because expressions are not evaluated totally for edition):

Otherwise, for JS, the corrected link :

I did not understand whether LWC users should be saved in sqlite or postgres. For now I have user saved in sqlite

This is up to you. If you want your users/groups to be in a SQLite file or in PostreSQL … (for backup, to do SQL join with users&groups …)