What is the idiomatic way to create an empty collection?
Maybe I missed some existing API but the only way I know is to add and remove a
dummy document. Is there a better way to create an empty collection?
Use cases? They are rare of course but I am sure there are more than one.
I have a scenario in [FarLite], the LiteDB browser in Far Manager:
Hi @nightroman, today there is no fancy way to do that, there is no CreateCollection method or some similar to that.
I will mark your question as suggestion, so I will discuss this with all team.
Most helpful comment
Hi @nightroman, today there is no fancy way to do that, there is no
CreateCollectionmethod or some similar to that.I will mark your question as suggestion, so I will discuss this with all team.