Realm C++ SDK Version v2.2.0
Public Member Functions | Public Attributes | Static Public Attributes | Friends | List of all members

realm::db Struct Reference

Public Member Functions

 db (realm::db_config config)
 
void begin_write () const
 
void commit_write () const
 
template<typename Fn >
std::invoke_result_t< Fn > write (Fn &&fn) const
 
template<typename U >
managed< std::remove_const_t< U > > add (U &&v)
 
template<typename T >
void remove (T &object)
 
template<typename T >
void insert (const std::vector< T > &v)
 
template<typename ... Ts>
std::tuple< managed< Ts >... > insert (Ts &&... v)
 
template<typename T >
results< T > objects ()
 
bool refresh ()
 
::realm::sync_subscription_set subscriptions ()
 
std::optional< sync_sessionget_sync_session () const
 
template<typename T >
managed< T > resolve (thread_safe_reference< T > &&tsr)
 
bool is_frozen () const
 
db freeze ()
 
db thaw ()
 
void invalidate ()
 
void close ()
 
bool is_closed ()
 

Public Attributes

internal::bridge::realm m_realm
 

Static Public Attributes

static std::vector< internal::bridge::object_schemaschemas
 

Friends

struct ::realm::thread_safe_reference< db >
 
template<typename , typename >
struct managed
 
template<typename T >
void internal::bridge::realm::config::set_client_reset_handler (const client_reset_mode_base< T > &)
 

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