/drift_local_database_example_using_drift_file

This is an example project demostrating how you can use drift as your local database in flutter

Primary LanguageDart

drift_local_database_example

This is an example project demostrating how you can user Drift local database (using the .drift file) into your flutter app.

NOTE: Currently does not have any UI implementation as it is used as an extention/reference to my medium article. I will consider to implement UI as well.

Links to the relevant articles:

Includes the following:

  • Setup
  • How to implement One to One Relationship
  • How to implement One to Many Relationship
  • How to implement Many to Many Relationship
  • How to accomplish migration

You can also check the other repository in which I'm showing how to implement the same process using classes:

Link to repository: https://github.com/r1n1os/drift_local_database_example_using_class_file/tree/main

References: