TDbSeekKey Class Reference
Database key value.
The class encapsulates a key value which is passed to
RDbTable::SeekL()
, for lookup in the currently active index on that rowset.
An instance of this class can store a key value of any type.
Note that the class can only hold a single-column key. Use
TDbSeekMultiKey
for multi-column keys.
TDbSeekMultiKey
RDbTable
Constructor & Destructor Documentation
TDbSeekKey()
Constructs an empty key value.
Add()
should be called before the key value is used for lookup.
TDbSeekKey(TInt)
TDbSeekKey
|
(
|
TInt
|
aKey
|
)
|
[inline]
|
Constructs a key value for an TInt8, TInt16 or TInt32 column.
Parameters
TInt
aKey
|
The key value to lookup.
|
TDbSeekKey(TUint)
TDbSeekKey
|
(
|
TUint
|
aKey
|
)
|
[inline]
|
Constructs a key value for a Bit, TUint8, TUint16 or TUint32 column.
Parameters
TUint
aKey
|
The key value to lookup.
|
TDbSeekKey(TInt64)
TDbSeekKey
|
(
|
TInt64
|
aKey
|
)
|
[inline]
|
TDbSeekKey(TReal32)
TDbSeekKey
|
(
|
TReal32
|
aKey
|
)
|
[inline]
|
Constructs a key value for a TReal32 column.
Parameters
TReal32
aKey
|
The key value to lookup.
|
TDbSeekKey(TReal64)
TDbSeekKey
|
(
|
TReal64
|
aKey
|
)
|
[inline]
|
Construct a key value for a TReal64 column.
Parameters
TReal64
aKey
|
The key value to lookup.
|
TDbSeekKey(TTime)
TDbSeekKey
|
(
|
TTime
|
aKey
|
)
|
[inline]
|
Constructs a key value for a
TDateTime
column.
Parameters
TTime
aKey
|
The key value to lookup.
|
TDbSeekKey(const TDesC8 &)
TDbSeekKey
|
(
|
const
TDesC8
&
|
aKey
|
)
|
[inline]
|
Constructs a key value for a non-Unicode text column.
Note that the seek key does not copy the text data contained by the descriptor. This needs to be retained until the seek key is no longer required.
Parameters
const
TDesC8
& aKey
|
The key value to lookup.
|
TDbSeekKey(const TDesC16 &)
TDbSeekKey
|
(
|
const
TDesC16
&
|
aKey
|
)
|
[inline]
|
Constructs a key value for a Unicode text column.
Note that the seek key does not copy the text data contained by the descriptor. This needs to be retained until the seek key is no longer required.
Parameters
const
TDesC16
& aKey
|
The key value to lookup.
|
TDbSeekKey(TInt, TInt)
TDbSeekKey
|
(
|
TInt
|
aKeys,
|
|
TInt
|
|
|
)
|
[protected, inline]
|
Member Functions Documentation
Add(TInt)
Appends a key value for an TInt8, TInt16 or TInt32 column.
Parameters
TInt
aKey
|
The key value to lookup.
|
Member Data Documentation
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.