PEAR-Handbuch | ||
---|---|---|
Zurück | Nach vorne |
name of the option to set
value to set the option to
Tabelle 34-1.
Option | Data Type | Default Value | Description | |
---|---|---|---|---|
autofree | boolean | FALSE | should results be freed automatically when there are no more rows? | |
debug | integer | 0 | debug level | |
persistent | boolean | FALSE | should the connection be persistent? | |
portability | integer | DB_PORTABILITY_NONE | portability mode constant. These constants are bitwised, so they can be combined using | and removed using ^. See the examples below and the „Intro - Portability“ for more information. | |
seqname_format | string | %s_seq | the sprintf() format string used on sequence names. This format is applied to sequence names passed to createSequence(), nextID() and dropSequence(). | |
ssl | boolean | FALSE | use ssl to connect? |
Tabelle 34-2. Mögliche Fehler-Arten
Error code | Error message | Reason | Solution |
---|---|---|---|
NULL | unknown option | The given option does not exist | Check $option for typographical errors |
Beispiel 34-1. Simple setOption() example
|
Beispiel 34-2. Portability for lowercasing and trimming
|
Beispiel 34-3. All portability options except trimming
|
Zurück | Zum Anfang | Nach vorne |
DB_common::setFetchMode() | Nach oben | DB_common::tableInfo() |