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

support uri=True in monetdbe.connect #22

Open
gijzelaerr opened this issue May 15, 2020 · 1 comment
Open

support uri=True in monetdbe.connect #22

gijzelaerr opened this issue May 15, 2020 · 1 comment
Assignees
Milestone

Comments

@gijzelaerr
Copy link
Collaborator

sqlite supports this:

https://docs.python.org/3/library/sqlite3.html#sqlite3.connect

If uri is true, database is interpreted as a URI. This allows you to specify options. For example, to open a database in read-only mode you can use:

db = sqlite3.connect('file:path/to/database?mode=ro', uri=True)
@gijzelaerr gijzelaerr modified the milestones: 0.6, 1.0 May 22, 2020
@njnes
Copy link
Member

njnes commented Jun 15, 2020

should be handled on the python side. monetdbe_open only handles the extra structure with a limited set off options

@gijzelaerr gijzelaerr modified the milestones: 1.0, 0.8 Jun 17, 2020
@gijzelaerr gijzelaerr self-assigned this Jun 17, 2020
@gijzelaerr gijzelaerr modified the milestones: 0.8, 0.9 Jun 30, 2020
@gijzelaerr gijzelaerr modified the milestones: 0.9, 0.10 Oct 9, 2020
@gijzelaerr gijzelaerr modified the milestones: 0.10, 0.11 Apr 9, 2021
@gijzelaerr gijzelaerr modified the milestones: 0.11, 0.12 Apr 30, 2021
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

No branches or pull requests

2 participants