Guilherme Souza
Guilherme Souza
Hi @bstillitano shouldn't need to manually refresh. I'll reopen this issue to investigate, thanks.
@bstillitano and @florian-mlr Are you using PostgresClient directly, or through the SupabaseClient?
Hi @NoahKamara this lib was first implemented without support for `Codable` (don't know why). Migrate to Codable is in the roadmap, feel free to PR a change.
Hi @bstillitano thanks for opening the issue, I'll investigate it. The foreign key to account schema is named `account`, and then when you query for the `account(*)`, I think it...
Sure, see the `account` column? Rename it to `account_id`, as it holds the reference for the account through its `id`.
When you pass `account(*)` it tries to loads the relationship for `account` schema which is wrong, as it is named `accounts`. To fix that, you need to use field aliasing,...
@bstillitano I hope that helped you, I'll be closing this issue for know, if you're still having issues with it, feel free to re-open it. Thanks.
@bstillitano can you provide me the full schema for the `transactions` and `account` table?
Closed in favor of https://github.com/supabase/supabase-swift/pull/395
@bstillitano I was able to make it work by applying the following changes: 1. Rename the `account` column in the `transactions` table to `account_id`. ```sql alter table transactions rename column...