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
letdocs= db.GetCollection<RecordWithEnum>()
docs.Insert { id =1; color = ConsoleColor.Gray }|> ignore
match docs.tryFindOne(fun doc -> doc.color = ConsoleColor.Gray )with| Some { id =1; color = ConsoleColor.Gray }-> pass()|_-> fail()
System.InvalidCastException: 'Value is not a valid BSON data type - Use Mapper.ToDocument for more complex types converts'
The text was updated successfully, but these errors were encountered:
System.InvalidCastException: 'Value is not a valid BSON data type - Use Mapper.ToDocument for more complex types converts'
The text was updated successfully, but these errors were encountered: