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

Avoid storing the DB connection within the object #112

Open
jorainer opened this issue Apr 17, 2024 · 0 comments
Open

Avoid storing the DB connection within the object #112

jorainer opened this issue Apr 17, 2024 · 0 comments

Comments

@jorainer
Copy link
Member

When the database connection is used/stored directly within the object, we can not save/load the object. Instead of keeping the active database connection within the object it might be better to use, similar to the MsBackendOfflineSql just the connection information and connect to the database on demand.

jorainer added a commit that referenced this issue May 29, 2024
- Add support to store the database file name in the object instead of the
  active connection to the database. This allows to serialize/deserialize
  `CompDb` and `IonDb` classes (and would even support parallel processing). For
  SQLite databases this is now the default. Issue #112.
- Add brackets `()` for all functions in the documentation.
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