-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSQL_ProgamLanguageDetails_db__Master_Header.hpp
More file actions
40 lines (34 loc) · 1.58 KB
/
SQL_ProgamLanguageDetails_db__Master_Header.hpp
File metadata and controls
40 lines (34 loc) · 1.58 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#ifndef SQL_PROGAMLANGUAGEDETAILS_DB__MASTER_HEADER_H
#define SQL_PROGAMLANGUAGEDETAILS_DB__MASTER_HEADER_H
#include <string>
#include "sqlite3pp_ez.h"
#include "SQL_ProgamLanguageDetails_db_table_ProgramLanguageSpecialSettings.hpp"
#include "SQL_ProgamLanguageDetails_db_table_ProgramLanguageSettings.hpp"
/*
// This example code can be used to test and validate all tables.
// Example Usage:
// sqlite3pp::setGlobalDB("myDatabase.db")
// sqlite3pp::testAllTables();
// Warning: testPopulatingAllTables and testAllTables may take a very long time on a database with a lot of content.
#include <map>
#include <memory>
namespace sqlite3pp
{
// Function to test populating all tables & views.
std::map< std::string, std::shared_ptr<sqlite3pp::TableBase> > testPopulatingAllTables()
{
std::map< std::string, std::shared_ptr < sqlite3pp::TableBase>> Tables;
Tables["SQL_ProgamLanguageDetails_db_table_ProgramLanguageSpecialSettings"] = std::shared_ptr<sqlite3pp::TableBase>(new sqlite3pp::Table<SQL_ProgamLanguageDetails_db_table_ProgramLanguageSpecialSettings>());
Tables["SQL_ProgamLanguageDetails_db_table_ProgramLanguageSettings"] = std::shared_ptr<sqlite3pp::TableBase>(new sqlite3pp::Table<SQL_ProgamLanguageDetails_db_table_ProgramLanguageSettings>());
return Tables;
}
// Function to test displaying content of all tables & views.
void testAllTables()
{
std::map< std::string, std::shared_ptr < sqlite3pp::TableBase>> myTables = sqlite3pp::testPopulatingAllTables();
for (auto& t : myTables)
t.second->out(std::wcout);
}
}
*/
#endif // !SQL_PROGAMLANGUAGEDETAILS_DB__MASTER_HEADER_H