summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2017-01-01 22:02:35 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2017-01-01 22:02:35 +0000
commit6aea58fee99a735c4bc4fedee1e6cb8f6d16ca71 (patch)
tree06d3915265986d4cfdd84bc2ef7d5e4d243f72b2
parentUse connection plugin resolver for mock providers (diff)
downloadlibdbpp-6aea58fee99a735c4bc4fedee1e6cb8f6d16ca71.tar.bz2
libdbpp-6aea58fee99a735c4bc4fedee1e6cb8f6d16ca71.tar.xz
libdbpp-6aea58fee99a735c4bc4fedee1e6cb8f6d16ca71.zip
Add doxygen comments for command optionslibdbpp-1.1.1
-rw-r--r--libdbpp/command.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libdbpp/command.h b/libdbpp/command.h
index 2a07a73..2a7f9ae 100644
--- a/libdbpp/command.h
+++ b/libdbpp/command.h
@@ -21,12 +21,15 @@ namespace DB {
ParameterOutOfRange();
};
+ /// Represents the basic options that can be passed when creating new commands.
class DLL_PUBLIC CommandOptions {
public:
CommandOptions() = default;
+ /// Constructor which populates the hash value only.
CommandOptions(std::size_t hash);
virtual ~CommandOptions() = default;
+ /// An (optional) hash of the SQL statement.
boost::optional<std::size_t> hash;
};