I am really new to back end stuff like functions e...
# help
i
I am really new to back end stuff like functions etc .. so not sure if it's possible to run python etc scripts with edge functions
n
Hello @Infinil! This thread has been automatically created from your message in #843999948717555735 a ``few seconds ago``. Pinging @User so that they see this as well! Want to unsubscribe from this thread? Right-click the thread in Discord (or use the ... menu) and select Leave Thread to unsubscribe from future updates. Want to change the title? Use the
/title
command! We have solved your problem? Click the button below to archive it.
i
Basically I am trying to fetch data every 15 misn and store it in postgres database .. so is edge functions right for this purpose?
I can also use dart instead of python if necessary but from website I think only typescript is allowed?
t
Thinking out loud and perhaps not very helpful though I may as well post now: I was thinking you could enable the database extension
pg_cron
Unfortunately we can't use python with the postgres db in superbase as
plpythonu
as > PL/Python is only available as an “untrusted” language Though you can install the
http
and create a
rpc
/
plpgsql
function that will fetch the data assuming its http data!
n
Infinil (2022-04-10)
i
I am fetching data from rss feed which is http ig.. so in ur opinion whats the best solution
to go for pg_cron?
anyways with python I am using stuff like beautiful soup etc and was thinking to save data as rows in database every 15 mins.. so should I just buy a vps and host the python script there?
t
> so should I just buy a vps and host the python script there? Perhaps this is best for now.