supabase-go
supabase-go copied to clipboard
cannot unmarshal array into Go value of type RequestError
Based on the sparse readme examples, I've got an insert query that looks like
var results map[string]interface{} // I also tried the type RequestError, no luck
err := supaClient.DB.From("table").Insert(user).Execute(results)
All other operations I've tried yield similar results. Any ideas on how to avoid this error being returned? The operations seem to be working in Supabase (rows are inserted), but the err
object is always this message.
Also, I have no idea how to go about building queries with this wrapper, are there any resources to point to? I'm glad to write up some docs for this wrapper if I can get some guidance.
Thanks for the work of putting this together!