分类: Mysql/postgreSQL
2008-12-04 16:58:05
/home/jzj/project/alv115/tools_needed/mysql++-3.0.8/bk-deps g++ -c -o simple1_simple1.o -Ilib -I/usr/include/mysql -g -O2 ./examples/simple1.cpp g++ -o simple1 simple1_simple1.o -L. -lmysqlclient -lmysqlpp_excommon -lmysqlpp |
Query::execute()
, Query::store()
, and Query::use()
. execute()
returns to its caller in a object.If you only need the success status, it’s a little more efficient to call Query::exec()
instead, as it simply returns bool.store()
. (All of the examples up to this point have used this method.) This returns a object,