Date: Tuesday, January 10, 2006 @ 13:38:41
  Author: zsolt
    Path: /cvsroot/carob/carob/include

Modified: ParameterStatement.hpp (1.2 -> 1.3)

implemented getParameterCount() to return the number of ? in the statement


------------------------+
 ParameterStatement.hpp |    6 ++++++
 1 files changed, 6 insertions(+)


Index: carob/include/ParameterStatement.hpp
diff -u carob/include/ParameterStatement.hpp:1.2 
carob/include/ParameterStatement.hpp:1.3
--- carob/include/ParameterStatement.hpp:1.2    Thu Jan  5 11:36:44 2006
+++ carob/include/ParameterStatement.hpp        Tue Jan 10 13:38:40 2006
@@ -252,6 +252,12 @@
   operator                std::wstring()
                               { return compileQuery(false); }
 
+  /**
+   * Returns the parameter count.
+   * @return the number of <code>?</code> in the statement
+   */
+  int                     getParameterCount() { return inStrings.size(); }
+
 protected:
   /**
    * Constructor.

_______________________________________________
Carob-commits mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/carob-commits

Reply via email to