A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.mongodb.com/docs/realm-sdks/cpp/latest/structrealm_1_1PropertyChange.html below:

Realm C++ SDK: realm::PropertyChange< T

#include <notifications.hpp>

std::string  name   std::optional< typename decltype(T::schema)::variant_t >  old_value   std::optional< typename decltype(T::schema)::variant_t >  new_value  

template<typename T>
struct realm::PropertyChange< T >

Information about a specific property which changed in an realm::object change notification.

◆ name

The name of the property which changed.

◆ new_value

The value of the property after the change occurred. This is not supplied for List properties and will always be nil.

◆ old_value

Value of the property before the change occurred. This is not supplied if the change happened on the same thread as the notification and for List properties.

For object properties this will give the object which was previously linked to, but that object will have its new values and not the values it had before the changes. This means that previousValue may be a deleted object, and you will need to check isInvalidated before accessing any of its properties.

The documentation for this struct was generated from the following file:


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4