Provides a code snippet to show you how to use the TDbColSetIter 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; }
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.