added describe table and table exists to session

This commit is contained in:
2023-11-26 22:17:59 +01:00
parent a436af5293
commit f3c502a2ce
6 changed files with 33 additions and 27 deletions
+3
View File
@@ -35,6 +35,9 @@ public:
// [[nodiscard]] query_result<record> fetch(const std::string &sql) const;
[[nodiscard]] std::pair<size_t, std::string> execute(const std::string &sql) const;
record describe_table(const std::string &table_name) const;
bool table_exists(const std::string &table_name) const;
template<typename Type>
void attach(const std::string &table_name)
{