ObjectBox C and C++ API 4.3.0
 
Loading...
Searching...
No Matches
obx::RelationProperty< SourceEntityT, TargetEntityT > Class Template Reference

Carries property-based to-one relation information when used in the entity-meta ("underscore") class. More...

#include <objectbox.hpp>

Inheritance diagram for obx::RelationProperty< SourceEntityT, TargetEntityT >:
Inheritance graph

Public Member Functions

constexpr RelationProperty (obx_schema_id id) noexcept
 
- Public Member Functions inherited from obx::Property< SourceEntityT, OBXPropertyType_Relation >
constexpr Property (obx_schema_id id) noexcept
 
QCInt64 equals (bool value) const
 
QCInt64 equals (int64_t value) const
 
QCInt64 notEquals (bool value) const
 
QCInt64 notEquals (int64_t value) const
 
QCInt64 lessThan (int64_t value) const
 
QCDouble lessThan (double value) const
 
QCInt64 lessOrEq (int64_t value) const
 
QCDouble lessOrEq (double value) const
 
QCInt64 greaterThan (int64_t value) const
 
QCDouble greaterThan (double value) const
 
QCInt64 greaterOrEq (int64_t value) const
 
QCDouble greaterOrEq (double value) const
 
QCInt64 between (int64_t a, int64_t b) const
 finds objects with property value between a and b (including a and b)
 
QCDouble between (double a, double b) const
 finds objects with property value between a and b (including a and b)
 
QCInt32Array in (std::vector< int32_t > &&values) const
 
QCInt32Array in (const std::vector< int32_t > &values) const
 
QCInt64Array in (std::vector< int64_t > &&values) const
 
QCInt64Array in (const std::vector< int64_t > &values) const
 
QCInt32Array notIn (std::vector< int32_t > &&values) const
 
QCInt32Array notIn (const std::vector< int32_t > &values) const
 
QCInt64Array notIn (std::vector< int64_t > &&values) const
 
QCInt64Array notIn (const std::vector< int64_t > &values) const
 
- Public Member Functions inherited from obx::PropertyTypeless
constexpr PropertyTypeless (obx_schema_id id) noexcept
 
obx_schema_id id () const
 
QC isNull () const
 
QC isNotNull () const
 

Additional Inherited Members

- Protected Attributes inherited from obx::PropertyTypeless
const obx_schema_id id_
 property ID
 

Detailed Description

template<typename SourceEntityT, typename TargetEntityT>
class obx::RelationProperty< SourceEntityT, TargetEntityT >

Carries property-based to-one relation information when used in the entity-meta ("underscore") class.

Constructor & Destructor Documentation

◆ RelationProperty()

template<typename SourceEntityT , typename TargetEntityT >
constexpr obx::RelationProperty< SourceEntityT, TargetEntityT >::RelationProperty ( obx_schema_id  id)
inlineexplicitconstexprnoexcept