All fields should be treated as read-only by the driver, unless explicitly stated otherwise.
Figure 53-1. pdo_dbh_t
If, for whatever reason, your driver is not suitable to run persistently, you MUST check this flag in your SKEL_handle_factory() and raise an appropriate error.
If your database client library API simply returns pointers to its own internal buffers for you to copy after each fetch call, you should leave this value set to 0.
supports_placeholders
is set to
PDO_PLACEHOLDER_NONE), you must set
this value to the maximum length that can be taken up by a single
character when it is quoted by your
SKEL_handle_quoter() function. This value is used to
calculate the amount of buffer space required when PDO executes the
statement.
data_source_len
is also correct.