diff options
Diffstat (limited to 'src/sql.hpp')
-rw-r--r-- | src/sql.hpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/sql.hpp b/src/sql.hpp new file mode 100644 index 0000000..4b598e7 --- /dev/null +++ b/src/sql.hpp @@ -0,0 +1,13 @@ +#pragma once + +#include <command_fwd.h> +#include <string> + +namespace WebStat::SQL { +#define EMBED_DECLARE(Name) \ + extern const std::string Name; \ + extern const DB::CommandOptionsPtr Name##_OPTS + + EMBED_DECLARE(ENTITY_INSERT); +#undef EMBED_DECLARE +} |