No you can't, Ricardo. In that example there is no mention of indicators for dynamic binding.
Please read my whole message, paisano. Rodrigo On Tue, Sep 3, 2013 at 1:29 PM, Ricardo Fabiano de Andrade <[email protected]> wrote: > Hi, > > You can find an explanation about this functionality right here: > http://soci.sourceforge.net/doc/3.2/exchange.html#dynamic > > Regards, > Ricardo > > > > On Tue, Sep 3, 2013 at 1:20 PM, Rodrigo Madera <[email protected]> > wrote: >> >> Never mind... >> >> I started playing with the internals and debugging for fun, and I saw >> a (undocumented?) method that gives me just what I need: >> >> ... >> for (auto itr = rowset.begin(); itr != rowset.end(); ++itr) { >> const soci::row& row = *itr; >> >> for (size_t i=0; i<row.size(); ++i) { >> const soci::column_properties& properties = >> row.get_properties(i); >> const auto& indicator = row.get_indicator(i); >> ... >> >> If this were documented, it could help others! Maybe if the >> documentation were a Wiki? >> >> Well... Thanks anyway for such a nice lib! >> >> Regards, >> Rodrigo >> >> >> On Tue, Sep 3, 2013 at 12:33 PM, Rodrigo Madera >> <[email protected]> wrote: >> > Hello all, >> > >> > I'm having the problem discussed in [1]. Actually, I've ran into this >> > problem a few times in the past and now, after some years, I come here >> > to >> > ask: >> > >> > Does SOCI already support rowset<row> with some values being null? >> > >> > I wish to do stupid things (don't ask) like: SELECT * FROM SOMETABLE, >> > and >> > dynamically display values, nulls (when null), and.. well, use the data. >> > >> > Thanks for any pointers, >> > Rodrigo >> > >> > [1] >> > >> > http://soci.6940.n7.nabble.com/SOCI-users-Problem-with-rowset-td1029.html >> > >> >> >> ------------------------------------------------------------------------------ >> Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! >> Discover the easy way to master current and previous Microsoft >> technologies >> and advance your career. Get an incredible 1,500+ hours of step-by-step >> tutorial videos with LearnDevNow. Subscribe today and save! >> >> http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk >> _______________________________________________ >> soci-users mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/soci-users > > > > ------------------------------------------------------------------------------ > Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! > Discover the easy way to master current and previous Microsoft technologies > and advance your career. Get an incredible 1,500+ hours of step-by-step > tutorial videos with LearnDevNow. Subscribe today and save! > http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk > _______________________________________________ > soci-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/soci-users > ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk _______________________________________________ soci-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/soci-users
