Db2Storage Db2Storage(
$config
)
|
|
Parameters:
API Tags:
See: | GalleryStorage::cleanStore |
Redefinition of:
- GalleryStorage::cleanStore()
- Clean out and reset the persistent store for this strategy.
void configureStore(
$moduleId, [
$upgradeInfo = array()]
)
|
|
Parameters:
API Tags:
See: | GalleryStorage::configureStore |
Redefinition of:
- GalleryStorage::configureStore()
- Configure the persistent store for this strategy, for the given module.
void convertBitsToInt(
$bitsVal
)
|
|
Parameters:
API Tags:
See: | GalleryStorage::convertBitsToInt |
Redefinition of:
- GalleryStorage::convertBitsToInt()
- Convert value from a database bit column into an integer
void convertIntToBits(
$intVal
)
|
|
Parameters:
API Tags:
See: | GalleryStorage::convertIntToBits |
Redefinition of:
- GalleryStorage::convertIntToBits()
- Convert an integer into something that the database will accept into a bit column
Parameters:
API Tags:
See: | GalleryStorage::decodeBlob |
Redefinition of:
- GalleryStorage::decodeBlob()
- Decode a blob of binary data into a form that's safe for a varchar column
Parameters:
API Tags:
See: | GalleryStorage::encodeBlob |
Redefinition of:
- GalleryStorage::encodeBlob()
- Encode a blob of binary data into a form that's safe for a varchar column
void getFunctionSql(
$functionName,
$args
)
|
|
Parameters:
API Tags:
See: | GalleryStorage::getFunctionsSql |
Redefinition of:
- GalleryStorage::getFunctionSql()
- Return a customized function for this database platform
Return the type of this database
Get database version.
API Tags:
void removeAllMapEntries(
$mapName, [
$useNonTransactionalConnection = false]
)
|
|
Parameters:
|
$mapName: |
|
|
$useNonTransactionalConnection: |
|
API Tags:
See: | GalleryStorage::removeAllMapEntries |
Redefinition of:
- GalleryStorage::removeAllMapEntries()
- Remove ALL entries from a map. Use with caution!
void _truncateString(
$value,
$size, [
$lengthInBytes = false]
)
|
|
Truncate UTF-8 strings to given byte length rather than character length since DB2 interprets string lengths in bytes.
Parameters:
|
$value: |
|
|
$size: |
|
|
$lengthInBytes: |
|
API Tags:
See: | GalleryStorage::_truncateString |
Redefinition of:
- GalleryStorage::_truncateString()
- Perform a UTF-8-safe truncation of the string to a size