's Avatar

@sklaiber.bsky.social

20 Followers  |  104 Following  |  4 Posts  |  Joined: 02.11.2024  |  1.279

Latest posts by sklaiber.bsky.social on Bluesky

2. Used the Supabase table name in the query.

If the table name is `week_start_date`, you should use the Dart field name `weekStartDate`.

```
final query = Query.where('weekStartDate', DateFormat('yyyy-MM-dd').format(currentWeekStartDate));

```

27.11.2024 10:03 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Some mistakes I made during the configuration.
1. forgot to specify the table name in the model
```
@ConnectOfflineFirstWithSupabase(
supabaseConfig: SupabaseSerializable(tableName: 'weekly_meal_plan'),
)
```

27.11.2024 10:03 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

I successfully got Brick to run with the help of this guide https://supabase.com/blog/offline-first-flutter-apps. It looks very promising!

27.11.2024 10:03 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Post image

The new patrol CLI output is incredibly helpful! #flutterdev

25.11.2024 17:52 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

@sklaiber is following 19 prominent accounts