PDO_4D DSN
SQL types with PDO_4D and PHP
4D (PDO)
PHP Manual

# Constants for PDO_4D

Constants for PDO_4D

### Predefined Constants

The constants below are defined by this driver, and will only be available when the extension has been either compiled into PHP or dynamically loaded at runtime. In addition, these driver-specific constants should only be used if you are using this driver. Using driver-specific attributes with another driver may result in unexpected behaviour. PDO::getAttribute may be used to obtain the `PDO_ATTR_DRIVER_NAME` attribute to check the driver, if your code can run against multiple drivers.

`PDO::FOURD_ATTR_CHARSET` (integer)

  Change the charset in which 4D returns data. (Default is UTF-8).

`PDO::FOURD_ATTR_PREFERRED_IMAGE_TYPES` (integer)

  The requested format of the image, when selecting a row with a column type PICTURE. It may be any type that 4D supports.