Store multiple database files in the same directory
Is there an existing issue?
- [ ] I have searched existing issues
Use case
The "data.mdb" file name becomes a custom file name
Proposed solution
It is recommended to support changing the "data.mdb" file name to a custom file name
Thanks for this suggestion. Why do you want to do this?
Note that you can change the name of the folder the database files are in using the .name(yourName) method on the MyObjectBox builder.
Note: I labeled this issue with "more info required" so it will auto-close in a few days if there are no follow-up comments.
谢谢你的建议。为什么要这样做?
请注意,您可以使用生成器上的方法更改数据库文件所在的文件夹的名称。
.name(yourName)``MyObjectBox注意:我用“需要更多信息”标记了这个问题,这样如果没有后续评论,它会在几天内自动关闭。
Thank you, I do this to store multiple database files in the same path
Thank you, I do this to store multiple database files in the same path
You can have your own directory structure to do this. Why just one path?
Anyway, we likely will not consider this. What's inside the db folder, that's "internal" business of ObjectBox and subject to change.
Without additional information, we are unfortunately not sure how to resolve this issue. Therefore this issue has been automatically closed. Feel free to comment with additional details and we can re-open this issue.