Support std::string in SqlConnection binding
[platform/core/security/security-manager.git] / src / dpl / db / include / dpl / db / sql_connection.h
index 510bacb..185af59 100644 (file)
@@ -159,6 +159,14 @@ class SqlConnection
         void BindString(ArgumentIndex position, const String& value);
 
         /**
+         * Bind string to the prepared statement argument
+         *
+         * @param position Index of argument to bind value to
+         * @param value Value to bind
+         */
+        void BindString(ArgumentIndex position, const std::string& value);
+
+        /**
          * Bind optional int to the prepared statement argument.
          * If optional is not set null will be bound
          *