19#ifndef CPPREALM_BRIDGE_TABLE_HPP
20#define CPPREALM_BRIDGE_TABLE_HPP
24#include <cpprealm/internal/bridge/obj_key.hpp>
42 Table (
const tab & other) ;
47 Table (
const TableRef &);
48 Table (
const ConstTableRef &);
49 Operator TableRef()
const ;
50 Operator ConstTableRef()
const ;
52 col_key get_column_key(
const std::string_view &name)
const ;
53 uint 32 _t get_key()
const ;
54 std::string get_name()
const ;
56 obj create_object_with_primary_key(
const Mixed &key)
const ;
63 [[nodiscard]]
bool is_embedded()
const ;
65 struct 查询 query (const std::string &, const std::vector <mixed>&) const;
66 struct
查询 where() const;
68 void remove_object(const obj_key &) const;
69 obj get_object(const obj_key&) const;
70 bool is_valid(const obj_key&) const;
72#ifdef CPPREALM_HAVE_GENERATED_BRIDGE_TYPES
73 storage::TableRef m_table[ 1 ];
75 std::shared_ptr<TableRef> m_table;
87 Operator TableView()
const ;
89#ifdef CPPREALM_HAVE_GENERATED_BRIDGE_TYPES
90 storage::TableView m_table_view[ 1 ];
92 std::shared_ptr<TableView> m_table_view;
96 bool Operator==(
const tab & ,
const tab & );