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

[Feature Request] Project Folder for each Database #114

Open
weltallferkel opened this issue Jan 8, 2025 · 2 comments
Open

[Feature Request] Project Folder for each Database #114

weltallferkel opened this issue Jan 8, 2025 · 2 comments
Labels
enhancement New feature or request

Comments

@weltallferkel
Copy link

Describe the solution you'd like

Where are the SQL queries stored? Wouldn't it be better to save SQL files on the drive and only link them to the databases? And the information about the dashboards? It would be nice to have all this in one folder so that the project can be saved or distributed.

@weltallferkel weltallferkel added the enhancement New feature or request label Jan 8, 2025
@wyhaya
Copy link
Member

wyhaya commented Jan 9, 2025

All data from Dataflare is stored on your computer in an SQLite database.

macOS

  • $HOME/Library/Application Support/app.dataflare.desktop/data.db

Linux

  • $HOME/.local/share/app.dataflare.desktop/data.db
  • $XDG_DATA_HOME/app.dataflare.desktop/data.db

Windows

  • C:\Users\NAME\AppData\Roaming\app.dataflare.desktop\data.db

SQL queries stored?

data.db -> query

And the information about the dashboards?

data.db -> dashboard

Wouldn't it be better to save SQL files on the drive and only link them to the databases?

This is indeed a better approach, but I overlooked this when initially developing Dataflare, and I stored all the data in SQLite, which can reduce a lot of trouble during the development process. At the same time, having only one SQLite file is also beneficial for backup and migration. If necessary, we can correct it in future versions.

@weltallferkel
Copy link
Author

Thanks for the information, that's good to know. You don't have to change it because of me, but maybe it would be better for the dataflare.app, for the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants