summaryrefslogtreecommitdiff
path: root/libodbcpp/selectcommand.h
diff options
context:
space:
mode:
authorrandomdan <randomdan@localhost>2010-06-11 09:03:42 +0000
committerrandomdan <randomdan@localhost>2010-06-11 09:03:42 +0000
commit1df33cc9d9a7804c78788d5717435ede44855ca0 (patch)
treeb78e66de0a9f7d6bb39038d6f628cbc871ffa652 /libodbcpp/selectcommand.h
parentInitial workings of project2 - renders gentoobrowse homepage (diff)
downloadlibdbpp-odbc-1df33cc9d9a7804c78788d5717435ede44855ca0.tar.bz2
libdbpp-odbc-1df33cc9d9a7804c78788d5717435ede44855ca0.tar.xz
libdbpp-odbc-1df33cc9d9a7804c78788d5717435ede44855ca0.zip
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
Diffstat (limited to 'libodbcpp/selectcommand.h')
-rw-r--r--libodbcpp/selectcommand.h6
1 files changed, 3 insertions, 3 deletions
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<Column*> 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;