realm / realm-cpp

Realm C++
Apache License 2.0
74 stars 17 forks source link

Add contains_key to managed maps #230

Closed leemaguire closed 3 months ago

leemaguire commented 3 months ago

Add managed<std::map<std::string, T>>::contains_key for conveniently checking if a managed map contains a given key. Use this method in the Type Safe Query API instead of managed<std::map<std::string, T>>::find.