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

We might want a hook for foreign storage #122

Open
axch opened this issue Sep 8, 2015 · 2 comments
Open

We might want a hook for foreign storage #122

axch opened this issue Sep 8, 2015 · 2 comments

Comments

@axch
Copy link
Contributor

axch commented Sep 8, 2015

meaning, storing the state of a "foreign" metamodel somewhere other than the underlying sqlite3 database. Presumably this hook would want to know about savepoints, commits, and rollbacks.

@axch axch added this to the nice to have / someday milestone Sep 8, 2015
@riastradh-probcomp
Copy link
Contributor

Example of storage and intended interaction?

@axch
Copy link
Contributor Author

axch commented Sep 15, 2015

Any sort of horrible foreign stuff; if I want to plug in a foreign model, written e.g. in VentureScript+Matlab with various legacy things, that has its own persistence code I don't want to rewrite just now, it might be nice if I could have a hook on which to hang code that invokes said persistence code so that when BayesDB reports to my ultimate user that everything has been saved to disk, it actually has. No very concrete use cases, which is why the target milestone is "someday".

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