Skip to content

Commit

Permalink
updated realtime example
Browse files Browse the repository at this point in the history
  • Loading branch information
ganigeorgiev committed Nov 19, 2022
1 parent b8a4c14 commit 505b565
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ final result = await pb.collection('example').getList(
);
// subscribe to realtime "example" collection changes
pb.collection('example').subscribe((e) {
pb.collection('example').subscribe("*", (e) {
print(e.action); // create, update, delete
print(e.record); // the changed record
});
Expand Down

0 comments on commit 505b565

Please sign in to comment.