Use FileUpload to get CSV and update database

I must be missing something fairly straightforward because I can’t figure out how to use the File Upload component to update a database, after selecting one csv file. The user manual has this documentation but it doesn’t show how to script writing the data to the database.

There’s also this post about Scripting importing multiple csv and inserting into sql Database but it uses the filepath which I don’t have when using the File Upload component.

Any recommended resources?

Start with this topic:

Thank you!