MySQL 9.3.0
Source Code Documentation
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
mrs::database::entry::ForeignKeyReference Class Reference

#include <object.h>

Inheritance diagram for mrs::database::entry::ForeignKeyReference:
[legend]

Public Types

using ColumnMapping = std::vector< std::pair< std::string, std::string > >
 

Public Member Functions

 ForeignKeyReference ()=default
 
 ForeignKeyReference (const ForeignKeyReference &)=default
 
ForeignKeyReferenceoperator= (const ForeignKeyReference &)=default
 
- Public Member Functions inherited from mrs::database::entry::ObjectField
virtual ~ObjectField ()=default
 
 ObjectField (const ObjectField &)=default
 
ObjectFieldoperator= (const ObjectField &)=default
 

Public Attributes

std::shared_ptr< Tableref_table
 
ColumnMapping column_mapping
 
bool to_many = false
 
bool unnest = false
 
- Public Attributes inherited from mrs::database::entry::ObjectField
entry::UniversalId id
 
std::string name
 
int position = 0
 
bool enabled = true
 
bool allow_filtering = true
 
bool allow_sorting = true
 

Additional Inherited Members

- Protected Member Functions inherited from mrs::database::entry::ObjectField
 ObjectField ()=default
 

Member Typedef Documentation

◆ ColumnMapping

using mrs::database::entry::ForeignKeyReference::ColumnMapping = std::vector<std::pair<std::string, std::string> >

Constructor & Destructor Documentation

◆ ForeignKeyReference() [1/2]

mrs::database::entry::ForeignKeyReference::ForeignKeyReference ( )
default

◆ ForeignKeyReference() [2/2]

mrs::database::entry::ForeignKeyReference::ForeignKeyReference ( const ForeignKeyReference )
default

Member Function Documentation

◆ operator=()

ForeignKeyReference & mrs::database::entry::ForeignKeyReference::operator= ( const ForeignKeyReference )
default

Member Data Documentation

◆ column_mapping

ColumnMapping mrs::database::entry::ForeignKeyReference::column_mapping

◆ ref_table

std::shared_ptr<Table> mrs::database::entry::ForeignKeyReference::ref_table

◆ to_many

bool mrs::database::entry::ForeignKeyReference::to_many = false

◆ unnest

bool mrs::database::entry::ForeignKeyReference::unnest = false

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