Interface ISupabaseTable<TModel, TChannel>
- Namespace
- Supabase.Interfaces
- Assembly
- Supabase.dll
Contract representing a supabase wrapped postgrest IPostgrestTable<TModel>
public interface ISupabaseTable<TModel, TChannel> : IPostgrestTable<TModel>, IGettableHeaders where TModel : BaseModel, new() where TChannel : IRealtimeChannel
Type Parameters
TModel
Model that inherits from BaseModel that represents this Table
TChannel
Class that implements IRealtimeChannel
- Inherited Members
Methods
On(ListenType, PostgresChangesHandler)
Add a realtime listener to this table.
Task<TChannel> On(PostgresChangesOptions.ListenType listenType, IRealtimeChannel.PostgresChangesHandler handler)
Parameters
listenType
PostgresChangesOptions.ListenTypehandler
IRealtimeChannel.PostgresChangesHandler
Returns
- Task<TChannel>