Db/Util.php
\Conjoon_Db_Util
Package: Conjoon\Db
Database utility methods.
- Author
- Thorsten Suckow-Homberg
- Category
- Db
Methods

getMaxAllowedPacket(
\$adapter $adapter
)
:
float
static
Returns the maximum allowed byte sequence for the passed db-adapter.
Parameters
Returns
Details
| Name | Type | Description |
|---|---|---|
| $adapter | \$adapter | Zend_Db_Adapter_Abstract |
| Type | Description |
|---|---|
| float | The number of bytes the db represented by the adapter can dafely store. |
- Todo
- check for a safer way to query the used db type