-
Notifications
You must be signed in to change notification settings - Fork 5
sqlshim Initialization Parameters
Marc Hester edited this page Jul 17, 2019
·
7 revisions
There are a few initialization parameters available for advanced configuration of sqlshim.
Here is an example of how they are passed:
SqlShim::init([
'driver' => "SqlShimFreeTDS",
'tds_version' => "7.4",
'autotype_fields' => false,
]);
List of parameters:
parameter name | default value | description |
---|---|---|
driver | SqlShim | Specify a custom driver definition for whatever reason. |
tds_version | 7.4 | Specify FreeTDS version to use for connection. |
autotype_fields | false | EXPERIMENTAL Automatically convert numerics to integers, dates to dates, etc... |
#footer