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

feat(sql): allow open absolute sqlite path #1380

Open
wants to merge 2 commits into
base: v2
Choose a base branch
from

Conversation

thewh1teagle
Copy link
Contributor

This PR updates the sql plugin in plugins-workspace for v2. It now allows opening SQLite files from any absolute path. If the path is not absolute, it still defaults to opening files relative to the app directory.

Examples of possible connection strings:

sqlite:/absolute/path/to/file.db
sqlite:relative_to_app_dir.db

@thewh1teagle thewh1teagle requested a review from a team as a code owner May 28, 2024 16:34
@thewh1teagle thewh1teagle changed the title feat: allow open absolute sqlite path feat(sql): allow open absolute sqlite path May 28, 2024
@FabianLars
Copy link
Member

As mentioned in #1441 (comment) i plan to make some larger changes and the connection logic will be part of it. Are you okay with me creating a combined PR and add you as a co-author? (github should attribute you basically the same as if it's your pr)

@thewh1teagle
Copy link
Contributor Author

@FabianLars
Sure 👍

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

Successfully merging this pull request may close these issues.

2 participants