![]() |
MySQL 9.3.0
Source Code Documentation
|
#include <object.h>
Public Member Functions | |
bool | is_read_only () const |
std::string | as_graphql (bool extended=false) const |
![]() | |
virtual | ~Table ()=default |
bool | with_insert () const |
bool | with_update () const |
bool | with_update (const Column &column) const |
bool | with_update_any_column () const |
bool | with_delete () const |
bool | with_check (const Column &column) const |
bool | needs_etag () const |
std::shared_ptr< ObjectField > | get_field (std::string_view name) const |
std::shared_ptr< ObjectField > | get_field_or_throw (std::string_view name) const |
std::shared_ptr< Column > | get_column (const entry::UniversalId &id) const |
std::shared_ptr< Column > | get_column (std::string_view column_name) const |
std::shared_ptr< Column > | get_column_or_throw (std::string_view column_name) const |
std::string | table_key () const |
std::shared_ptr< Column > | get_column_with_field_name (const std::string &name) const |
std::vector< const Column * > | primary_key () const |
const Column * | try_get_generated_id_column () const |
const Column * | try_get_row_ownership_column () const |
template<typename T , typename R > | |
R | foreach_field (std::function< R(T &)> fn) const |
template<typename T , typename R > | |
R | foreach_field (std::function< R(const T &)> fn) const |
template<typename R > | |
R | foreach_field (std::function< R(const Column &)> column_fn, std::function< R(const ForeignKeyReference &)> fk_fn) const |
const ForeignKeyReference & | get_reference_to_parent (const Table &parent) const |
bool | is_editable (bool &has_unnested_1n) const |
Public Attributes | |
std::string | name |
KindType | kind |
![]() | |
std::string | schema |
std::string | table |
std::string | table_alias |
std::vector< std::shared_ptr< ObjectField > > | fields |
std::optional< OwnerUserField > | user_ownership_field |
Operation::ValueType | crud_operations |
bool | with_check_ = true |
bool | unnests_to_value = false |
Additional Inherited Members | |
![]() | |
std::string | as_graphql (int depth, bool extended) const |
![]() | |
std::optional< bool > | needs_etag_ |
std::string mrs::database::entry::Object::as_graphql | ( | bool | extended = false | ) | const |
bool mrs::database::entry::Object::is_read_only | ( | ) | const |
KindType mrs::database::entry::Object::kind |
std::string mrs::database::entry::Object::name |