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

Add in-memory mode to Python bindings #569

Merged
merged 3 commits into from
Dec 31, 2024

Conversation

JeanArhancet
Copy link
Contributor

Add memory database support in Python bindings and add immediate statement execution for DDL/DML operations (logic to be confirmed)

@JeanArhancet JeanArhancet force-pushed the feat/add-python-memory branch from ea10c6c to f097a72 Compare December 28, 2024 16:18
Copy link
Collaborator

@penberg penberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please also drop the "hello.db" binary file that is being added as part of this PR

@@ -1,4 +1,3 @@
fn main() {
pyo3_build_config::use_pyo3_cfgs();
println!("cargo::rustc-check-cfg=cfg(allocator, values(\"default\", \"mimalloc\"))");
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why did you drop this?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If I'm not mistaken, this configuration is not necessary for now

@JeanArhancet JeanArhancet force-pushed the feat/add-python-memory branch from f097a72 to 3c46dfa Compare December 30, 2024 09:04
@JeanArhancet JeanArhancet force-pushed the feat/add-python-memory branch from 3c46dfa to 9a70dc8 Compare December 30, 2024 09:22
@penberg penberg changed the title feat(python): add in-memory mode Add in-memory mode to Python bindings Dec 31, 2024
@penberg penberg merged commit 80fe5b0 into tursodatabase:main Dec 31, 2024
36 checks passed
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