You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are excited to release our newest product Pulse!
It is a managed Change Data Capture (CDC) service that allows you to subscribe to real-time events in your database via Prisma Client.
Pulse is the perfect tool if you need any kind of real-time functionality in your app!
Here's a sample code snippet that sends updates to your application when something changes on the message table in your database:
// Subscribe to new events on the `message` tableconstliveQuery=prisma.message.subscribe()// Waiting loop that prints new events when something changes in the databaseforawait(consteventofliveQuery){console.log(event.action);// 'create', 'update', 'delete'}
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hey everyone 👋
We are excited to release our newest product Pulse!
It is a managed Change Data Capture (CDC) service that allows you to subscribe to real-time events in your database via Prisma Client.
Pulse is the perfect tool if you need any kind of real-time functionality in your app!
Here's a sample code snippet that sends updates to your application when something changes on the
message
table in your database:You can learn more about Pulse in the announcement article and get started with it today.
Beta Was this translation helpful? Give feedback.
All reactions