How would one go about getting real time updates v...
# exposed
s
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
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
what if I want to get live updates from the database? Like new entries. Do I have to poll with exposed?
e
I don't think Exposed has any built-in functionality like that.
t
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.