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
As Transaction::insert(...)'s documentation comment states, the function returns a ConflictError if the ID of the document already exists.
Since this function is buried deep down in BonsaiDB's code, I would suggest adding a hint to that behaviour in the docstring of Collection::push(...), since that is the function users will most likely interact with.
The text was updated successfully, but these errors were encountered:
As
Transaction::insert(...)
's documentation comment states, the function returns aConflictError
if the ID of the document already exists.Since this function is buried deep down in
BonsaiDB
's code, I would suggest adding a hint to that behaviour in the docstring ofCollection::push(...)
, since that is the function users will most likely interact with.The text was updated successfully, but these errors were encountered: