You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Col A - Keep all data
Col B - Clear all and load fixture
Col C - Clear all data
Ideally I would like to specify collection C as an empty array in my fixture and then this library would clear all data from it. However I will get an error "Invalid Operation, No operations in bulk". At this point the jobs collection will not exist and subsequent operations will throw a "ns not found" error.
I think the solution would be if a fixture array is empty, create an empty collection instead of trying to insert items.
I could work around this by always dropping collection C and ignoring any errors, but this seems less than ideal.
The text was updated successfully, but these errors were encountered:
I have the following scenario-
Col A - Keep all data
Col B - Clear all and load fixture
Col C - Clear all data
Ideally I would like to specify collection C as an empty array in my fixture and then this library would clear all data from it. However I will get an error "Invalid Operation, No operations in bulk". At this point the jobs collection will not exist and subsequent operations will throw a "ns not found" error.
I think the solution would be if a fixture array is empty, create an empty collection instead of trying to insert items.
I could work around this by always dropping collection C and ignoring any errors, but this seems less than ideal.
The text was updated successfully, but these errors were encountered: