aboutsummaryrefslogtreecommitdiffstats
path: root/src/base/database.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/base/database.hpp')
-rw-r--r--src/base/database.hpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/base/database.hpp b/src/base/database.hpp
index 3bf699ad..d5313609 100644
--- a/src/base/database.hpp
+++ b/src/base/database.hpp
@@ -72,6 +72,14 @@ namespace usdx
*/
void sqlite_exec(const std::string sqlStatement);
+ /**
+ * Check if the given table exists in the database.
+ *
+ * @param table Name to check if exists
+ * @return true, if table exists, false if not
+ */
+ const bool sqlite_table_exists(const std::string table);
+
// Singleton
StatDatabase(std::string filename);