Joedb 9.5.0
The Journal-Only Embedded Database
Loading...
Searching...
No Matches
Namespaces | Macros
Database_Schema.cpp File Reference
#include "joedb/interpreted/Database_Schema.h"
#include "joedb/error/Exception.h"
#include "joedb/is_identifier.h"
#include "joedb/TYPE_MACRO.h"
Include dependency graph for Database_Schema.cpp:

Go to the source code of this file.

Namespaces

namespace  joedb
 

Macros

#define TYPE_MACRO(type, return_type, type_id, R, W)
 

Macro Definition Documentation

◆ TYPE_MACRO

#define TYPE_MACRO (   type,
  return_type,
  type_id,
  R,
 
)
Value:
const type &Database_Schema::get_##type_id\
(\
Table_Id table_id,\
Record_Id record_id,\
Field_Id field_id\
) const\
{\
return *get_table(table_id).get_own_##type_id##_storage(record_id, field_id);\
}

Definition at line 90 of file Database_Schema.cpp.