From 1df33cc9d9a7804c78788d5717435ede44855ca0 Mon Sep 17 00:00:00 2001 From: randomdan Date: Fri, 11 Jun 2010 09:03:42 +0000 Subject: Use Glib::ustring in libodbcpp for data and std::string for non-data Add support for parameters in SqlViews Uses parameters to implement category browse and search --- libodbcpp/selectcommand.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libodbcpp/selectcommand.h') diff --git a/libodbcpp/selectcommand.h b/libodbcpp/selectcommand.h index 5a00739..541cd08 100644 --- a/libodbcpp/selectcommand.h +++ b/libodbcpp/selectcommand.h @@ -8,13 +8,13 @@ namespace ODBC { class SelectCommand : public Command { typedef std::vector Columns; public: - SelectCommand (const Connection&, String sql); + SelectCommand (const Connection &, const std::string & sql); ~SelectCommand(); bool fetch(); const Column & operator[](unsigned int col) const; - const Column & operator[](const String &) const; + const Column & operator[](const Glib::ustring &) const; unsigned int columnCount() const; - unsigned int getOrdinal(const String &) const; + unsigned int getOrdinal(const Glib::ustring &) const; private: void execute(); Columns columns; -- cgit v1.2.3