Insert user.id to database (code)

Ok, here we go:

  1. this code
numUser= user.id

has a var “user” falling out of the sky. Please lookup docs on wix-users, the answer is out there (let currentuser = …, etc)
2) why would you want to do this? Wix already does this for you, in the _owner field per row