Skip to content

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

Notifications You must be signed in to change notification settings

r1n1os/drift_local_database_example_using_drift_file

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages