IHP Api Reference
Safe HaskellNone

IHP.DataSync.ChangeNotifications

Synopsis

Documentation

watchInsertOrUpdateTable :: (?modelContext :: ModelContext) => TableWithRLS -> IO (MVar ChangeNotification) Source #

The table is wrapped as a TableWithRLS to ensure that the RLS has been checked before calling this

eventName :: Text -> Text Source #

Returns the event name of the event that the pg notify trigger dispatches