How would one go about getting real time updates via exposed? it seems like you can't really subscribe to anything do people just poll? (new to backend)
e
Endre Deak
10/04/2022, 9:13 PM
I think receiving info about updating some data is not the responsibility of an ORM / data layer, you might want to build that functionality into your software. Exposed just deals with persisting and loading data.
👍 1
s
Suser
10/04/2022, 9:45 PM
what if I want to get live updates from the database? Like new entries. Do I have to poll with exposed?
e
Endre Deak
10/04/2022, 10:00 PM
I don't think Exposed has any built-in functionality like that.
t
tapac
10/05/2022, 1:43 PM
Agree @Endre Deak, most of relational databases don't provide any APIs to events, but there are a lot of frameworks/tools allowing to monitor it.
Exposed allows only to track changes made with Exposed (both DSL/DAO) with interceptors.