summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/extra/sql.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/modules/extra/sql.h b/modules/extra/sql.h
index d3449504a..e2daf49da 100644
--- a/modules/extra/sql.h
+++ b/modules/extra/sql.h
@@ -28,6 +28,14 @@ namespace SQL
return *ss;
}
+ std::set<Anope::string> KeySet() const anope_override
+ {
+ std::set<Anope::string> keys;
+ for (std::map<Anope::string, std::stringstream *>::const_iterator it = this->data.begin(), it_end = this->data.end(); it != it_end; ++it)
+ keys.insert(it->first);
+ return keys;
+ }
+
bool IsEqual(Serialize::Data *other) anope_override
{
try