WeChatFerry/spy/exec_sql.h

11 lines
272 B
C
Raw Normal View History

2022-08-07 23:32:25 +08:00
#pragma once
#include <string>
#include <vector>
2022-10-15 20:25:42 +08:00
#include "../proto/wcf.grpc.pb.h"
2022-08-07 23:32:25 +08:00
2022-10-15 20:25:42 +08:00
void GetDbNames(wcf::DbNames *names);
void GetDbTables(const std::string db, wcf::DbTables *tables);
void ExecDbQuery(const std::string db, const std::string sql, wcf::DbRows *rows);