diff -r ebc84c812384 -r 46218c8b8afa Symbian3/PDK/Source/GUID-580471E3-7DFD-5325-A8B9-B3E7FABF872D.dita --- a/Symbian3/PDK/Source/GUID-580471E3-7DFD-5325-A8B9-B3E7FABF872D.dita Thu Mar 11 15:24:26 2010 +0000 +++ b/Symbian3/PDK/Source/GUID-580471E3-7DFD-5325-A8B9-B3E7FABF872D.dita Thu Mar 11 18:02:22 2010 +0000 @@ -1,17 +1,17 @@ - - - - - -Using TDbColSetIter
Using the iterator

TDbColSetIter provides a useful way to iterate over the contents of a column set. Given a CDbColSet* set, we can count the number of nullable columns like this:

TInt nullable=0; -for (TDbColSetIter iter(*set);iter;++iter) - { - if ((iter->iAttributes&TDbCol::ENotNull)==0) - ++nullable; + + + + + +Using TDbColSetIter
Using the iterator

TDbColSetIter provides a useful way to iterate over the contents of a column set. Given a CDbColSet* set, we can count the number of nullable columns like this:

TInt nullable=0; +for (TDbColSetIter iter(*set);iter;++iter) + { + if ((iter->iAttributes&TDbCol::ENotNull)==0) + ++nullable; }
\ No newline at end of file