-
Notifications
You must be signed in to change notification settings - Fork 74
Creating empty DB file from ESP32 itself #53
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
Comments
Hi simkard69, I am no sqlite expert or c++ expert. But I believe you only need to create an empty file with a ".db" at the end.
|
@simkard69 @Fischkopppp I guess the purpose is to fix the page size. So I think having an empty database pre-created and copied whenever needed is the way to go. |
Hello @siara-cc , So from these perspectives, I'm wondering what is the best option ... should I :
Fact is I can have big datasets of maybe around 150k lines with maybe 30-50 columns (depending on the actual needs/use cases). What is the best option from your perspective ? Thanks |
Hello,
I was wondering if there is any way to create empty DB files from the ESP32 itself ?
A workaround would be to have a default DB file stored somewhere on the SD card, copying it, and using it.
Thanks
The text was updated successfully, but these errors were encountered: