summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
};