Re: [boost] Interest in an ODBC library?
by Caleb Epstein other posts by this author
Aug 18 2005 7:35AM messages near this date
Re: [boost] Interest in an ODBC library?
|
Re: [boost] Interest in an ODBC library?
SOURCE On 8/18/05, Brock Peabody <brock.peabody@[...].com> wrote:
> We could make abstract_row_set::get return an optional<field> instead of
> a field. Then row::get_field could return an optional as well.
>
> I'd suggest that row::get, however, continue its current behavior which
> is to return a default constructed value in the presence of null fields.
I think the ability to detect NULL values for columns is a pretty
important one in any database interface. Boost.Optional sounds like
the perfect solution from a design perspective, but might hurt
performance-wise. What if there were a method like bool row::is_null
(unsigned int index)?
--
Caleb Epstein
caleb dot epstein at gmail dot com
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Thread:
Brian Braatz
Brock Peabody
Caleb Epstein
Brock Peabody
Caleb Epstein
Brock Peabody
Jonathan Wakely
Daryle Walker
Jonathan Wakely
Brock Peabody
Jonathan Wakely
Jonathan Wakely
Brock Peabody
Caleb Epstein
Caleb Epstein
Brock Peabody
Jonathan Wakely
Brock Peabody
|