Missing import and run command in "Connect to database" instructions
closed
M
Minh Dao
I'm in the dashboard. After creating a database and navigating to the "Connect to database" page (or right after db creation), I get shown instructions on how to proceed with connecting the database to my Dart application. However, the first example block of Dart code misses an import: "import 'package:drift/native.dart';" to work. Moreover, I think it doesn't hurt if you'd list the run command "dart run build_runner build --delete-conflicting-outputs" after the second block of Dart code to complete the setup. Just compare with your Quickstart tutorial: https://docs.globe.dev/products/database/quickstart#3-define-the-database-and-tables and https://docs.globe.dev/products/database/quickstart#4-generate-the-drift-code where these steps are listed.
Alex Duke
marked this post as
closed
Alex Duke
Hi Minah, this has now been updated. thanks again.
Alex Duke
Thanks Minah! We'll get this updated.