#include <object.h>
|
std::string | as_graphql (int depth, bool extended) const |
|
◆ ~Table()
virtual mrs::database::entry::Table::~Table |
( |
| ) |
|
|
virtualdefault |
◆ as_graphql()
std::string mrs::database::entry::Table::as_graphql |
( |
int |
depth, |
|
|
bool |
extended |
|
) |
| const |
|
protected |
◆ foreach_field() [1/3]
template<typename R >
R mrs::database::entry::Table::foreach_field |
( |
std::function< R(const Column &)> |
column_fn, |
|
|
std::function< R(const ForeignKeyReference &)> |
fk_fn |
|
) |
| const |
|
inline |
◆ foreach_field() [2/3]
template<typename
T , typename R >
R mrs::database::entry::Table::foreach_field |
( |
std::function< R(const T &)> |
fn | ) |
const |
|
inline |
◆ foreach_field() [3/3]
template<typename
T , typename R >
R mrs::database::entry::Table::foreach_field |
( |
std::function< R(T &)> |
fn | ) |
const |
|
inline |
◆ get_column() [1/2]
std::shared_ptr< Column > mrs::database::entry::Table::get_column |
( |
const entry::UniversalId & |
id | ) |
const |
|
inline |
◆ get_column() [2/2]
std::shared_ptr< Column > mrs::database::entry::Table::get_column |
( |
std::string_view |
column_name | ) |
const |
|
inline |
◆ get_column_or_throw()
std::shared_ptr< Column > mrs::database::entry::Table::get_column_or_throw |
( |
std::string_view |
column_name | ) |
const |
|
inline |
◆ get_column_with_field_name()
std::shared_ptr< Column > mrs::database::entry::Table::get_column_with_field_name |
( |
const std::string & |
name | ) |
const |
|
inline |
◆ get_field()
std::shared_ptr< ObjectField > mrs::database::entry::Table::get_field |
( |
std::string_view |
name | ) |
const |
|
inline |
◆ get_field_or_throw()
std::shared_ptr< ObjectField > mrs::database::entry::Table::get_field_or_throw |
( |
std::string_view |
name | ) |
const |
|
inline |
◆ get_reference_to_parent()
◆ is_editable()
bool mrs::database::entry::Table::is_editable |
( |
bool & |
has_unnested_1n | ) |
const |
◆ needs_etag()
bool mrs::database::entry::Table::needs_etag |
( |
| ) |
const |
◆ primary_key()
std::vector< const Column * > mrs::database::entry::Table::primary_key |
( |
| ) |
const |
|
inline |
◆ table_key()
std::string mrs::database::entry::Table::table_key |
( |
| ) |
const |
|
inline |
◆ try_get_generated_id_column()
const Column * mrs::database::entry::Table::try_get_generated_id_column |
( |
| ) |
const |
|
inline |
◆ try_get_row_ownership_column()
const Column * mrs::database::entry::Table::try_get_row_ownership_column |
( |
| ) |
const |
|
inline |
◆ with_check()
bool mrs::database::entry::Table::with_check |
( |
const Column & |
column | ) |
const |
|
inline |
◆ with_delete()
bool mrs::database::entry::Table::with_delete |
( |
| ) |
const |
|
inline |
◆ with_insert()
bool mrs::database::entry::Table::with_insert |
( |
| ) |
const |
|
inline |
◆ with_update() [1/2]
bool mrs::database::entry::Table::with_update |
( |
| ) |
const |
|
inline |
◆ with_update() [2/2]
bool mrs::database::entry::Table::with_update |
( |
const Column & |
column | ) |
const |
|
inline |
◆ with_update_any_column()
bool mrs::database::entry::Table::with_update_any_column |
( |
| ) |
const |
|
inline |
◆ crud_operations
◆ fields
std::vector<std::shared_ptr<ObjectField> > mrs::database::entry::Table::fields |
◆ needs_etag_
std::optional<bool> mrs::database::entry::Table::needs_etag_ |
|
mutableprotected |
◆ schema
std::string mrs::database::entry::Table::schema |
◆ table
std::string mrs::database::entry::Table::table |
◆ table_alias
std::string mrs::database::entry::Table::table_alias |
◆ unnests_to_value
bool mrs::database::entry::Table::unnests_to_value = false |
◆ user_ownership_field
std::optional<OwnerUserField> mrs::database::entry::Table::user_ownership_field |
◆ with_check_
bool mrs::database::entry::Table::with_check_ = true |
The documentation for this class was generated from the following files:
- router/src/mysql_rest_service/include/mrs/database/entry/object.h
- router/src/mysql_rest_service/src/mrs/database/entry/object.cc