-
-
Notifications
You must be signed in to change notification settings - Fork 77
Open
Description
How to count the number of rows returned by a select query? The following code throws error "failed to count messages in thread: PGRST200: Could not find a relationship between 'message' and 'COUNT' in the schema cache":
var messageCount int64
err = s.supabaseClient.DB.From("message").Select("COUNT(*)").Eq("thread_id", threadID).Execute(&messageCount)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels