Describes how to manipulate tables in the database.
Two classes and a template class are used to manipulate tables in the database.
The RDbTable class is used to manipulate a named table in the database, providing access to the data as a rowset. A named index can be used to order the rowset, and to provide fast key-based row retrieval from the table.
The TDbSeekKey class is used to pass a key value to RDbTable::SeekL() , for lookup in the currently active index on that rowset. It can store a key value of any type.
TDbSeekKey can only hold a single-column key. Use the TDbSeekMultiKey<TInt S> templated class to allow multi-column indexes to be searched using multi-column key values. The template parameter S specifies the maximum number of column values that can be added to the key value.
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.