Joedb 9.1.4
The Journal-Only Embedded Database
Loading...
Searching...
No Matches
Namespaces | Macros
SQL_Dump_Writable.cpp File Reference
#include "joedb/ui/SQL_Dump_Writable.h"
#include "joedb/ui/type_io.h"
#include "joedb/ui/get_time_string.h"
#include "joedb/journal/Buffered_File.h"
#include <iostream>
#include "joedb/TYPE_MACRO.h"
Include dependency graph for SQL_Dump_Writable.cpp:

Go to the source code of this file.

Namespaces

namespace  joedb
 

Macros

#define TYPE_MACRO(type, return_type, type_id, R, W)
 
#define TYPE_MACRO_NO_STRING
 
#define TYPE_MACRO_NO_BLOB
 
#define TYPE_MACRO_NO_REFERENCE
 
#define TYPE_MACRO_NO_BOOL
 

Macro Definition Documentation

◆ TYPE_MACRO

#define TYPE_MACRO (   type,
  return_type,
  type_id,
  R,
 
)
Value:
void SQL_Writable::update_##type_id\
(\
Table_Id table_id,\
Record_Id record_id,\
Field_Id field_id,\
return_type value\
)\
{\
write_update(table_id, field_id);\
write_##type_id(out, value);\
write_where(record_id);\
}

Definition at line 202 of file SQL_Dump_Writable.cpp.

◆ TYPE_MACRO_NO_BLOB

#define TYPE_MACRO_NO_BLOB

Definition at line 216 of file SQL_Dump_Writable.cpp.

◆ TYPE_MACRO_NO_BOOL

#define TYPE_MACRO_NO_BOOL

Definition at line 218 of file SQL_Dump_Writable.cpp.

◆ TYPE_MACRO_NO_REFERENCE

#define TYPE_MACRO_NO_REFERENCE

Definition at line 217 of file SQL_Dump_Writable.cpp.

◆ TYPE_MACRO_NO_STRING

#define TYPE_MACRO_NO_STRING

Definition at line 215 of file SQL_Dump_Writable.cpp.