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

datasette.add_database(name, db) and datasette.remove_database(name) methods #671

Closed
simonw opened this issue Feb 14, 2020 · 1 comment
Closed

Comments

@simonw
Copy link
Owner

simonw commented Feb 14, 2020

  • datasette.add_database(name, db) - adds a new named database to the list of connected databases. db will be a Database() object, which may prove useful in the future for things like Prototoype for Datasette on PostgreSQL #670 and could also allow some plugins to provide in-memory SQLite databases.
  • datasette.remove_database(name)

Originally posted by @simonw in #417 (comment)

simonw added a commit that referenced this issue Feb 14, 2020
Also made a start on the Datasette class documentation, refs #576
@simonw simonw closed this as completed Feb 14, 2020
@simonw
Copy link
Owner Author

simonw commented Feb 14, 2020

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

1 participant