lovasoa / SQLpage

SQL-only webapp builder, empowering data analysts to build websites and applications quickly
https://sql.ophir.dev
MIT License
882 stars 62 forks source link

add uploaded_file_name function #370

Closed djyotta closed 4 weeks ago

djyotta commented 1 month ago

Closes #333

Tested with

SET fname = sqlpage.uploaded_file_name('f');

SELECT 'debug' AS component;
SELECT $fname AS fname;

SELECT 'form' AS component, 'post' AS method;
SELECT 'file' AS type, 'f' AS name, '' AS label;

Documentation tbd

djyotta commented 1 month ago

Test and documentation added

lovasoa commented 1 month ago

I don't think we can expect the SQLPage documentation readers to be familiar with python

djyotta commented 1 month ago

I don't think we can expect the SQLPage documentation readers to be familiar with python

I've modified the docs to demonstrate download via data uri instead of the python example.

lovasoa commented 4 weeks ago

Merged! Thank you again, @djyotta !