Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 1.38 KB

File metadata and controls

26 lines (19 loc) · 1.38 KB

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: