Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I stored a Image or Blob Object? #229

Closed
aeronxie opened this issue Jan 10, 2020 · 2 comments · Fixed by #259
Closed

How can I stored a Image or Blob Object? #229

aeronxie opened this issue Jan 10, 2020 · 2 comments · Fixed by #259
Labels
feature Request and implementation of a feature (release drafter)
Milestone

Comments

@aeronxie
Copy link

No description provided.

@vitusortner
Copy link
Collaborator

vitusortner commented Jan 10, 2020

Storing BLOBs is currently not possible with floor.
When it comes to storing images, I suggest storing these on the device's disk and persisting the file's path in the SQLite database.

@vitusortner vitusortner added the feature Request and implementation of a feature (release drafter) label Jan 10, 2020
@vitusortner vitusortner added this to the Version 1.0 milestone Jan 10, 2020
@mqus
Copy link
Collaborator

mqus commented Feb 13, 2020

How easy would it be to implement this? Would I "only" have to map Uint8List to BLOB, or does this have some complications?

mqus added a commit to mqus/floor that referenced this issue Feb 13, 2020
This connects the dart type Uint8List to the SQLite data type BLOB and adjusts some tests for that.
Fixes pinchbv#229.
mqus added a commit to mqus/floor that referenced this issue Feb 13, 2020
This connects the dart type Uint8List to the SQLite data type BLOB and adjusts some tests for that.
Fixes pinchbv#229.
mqus added a commit to mqus/floor that referenced this issue Feb 13, 2020
This connects the dart type Uint8List to the SQLite data type BLOB and adjusts some tests for that.
Fixes pinchbv#229.
mqus added a commit to mqus/floor that referenced this issue Feb 22, 2020
This connects the dart type Uint8List to the SQLite data type BLOB and adjusts some tests for that.
Fixes pinchbv#229.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Request and implementation of a feature (release drafter)
Development

Successfully merging a pull request may close this issue.

3 participants