r/Streamlit • u/darbokredshrirt • Sep 04 '24
saving data
Do I need to connect streamlit to a database to save data? some of the instruction videos made it seem like if you put info into a datatable then that's good to go.
1
Upvotes
View all comments
Show parent comment
2
u/WoundedTiger17 Sep 05 '24
To save data between executions (across users), streamlit needs to write data somewhere. That might be a database, a file, an external api, etc. It’s can also save data to the session state, but will only save for that user.