Change README

This commit is contained in:
Maxime Rault 2015-07-23 09:18:27 +02:00
parent 85a8cacce5
commit 0060e5c714

113
README.md
View File

@ -56,56 +56,77 @@ Simply add this code at the end of your ``app/config/database.php`` file:
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
*/ */
'odbc' => [ 'ibmi' => [
'driver' => 'odbc', 'driver' => 'odbc' / 'ibm',
'host' => '', // General settings
'database' => '', 'host' => 'gigc',
'username' => '', 'username' => '',
'password' => '', 'password' => '',
'charset' => 'utf8', //Server settings
'ccsid' => 1208, 'database' => 'WRKRDBDIRE entry',
'prefix' => '', 'prefix' => '',
'schema' => '', 'schema' => 'default schema',
'i5_libl' => '', 'signon' => 3,
'i5_lib' => '', 'ssl' => 0,
'i5_commit' => 0, 'commitMode' => 2,
'i5_naming' => 0, 'connectionType' => 0,
'i5_date_fmt' => 5, 'defaultLibraries' => '',
'i5_date_sep' => 0, 'naming' => 0,
'i5_decimal_sep' => 0, 'unicodeSql' => 0,
'i5_time_fmt' => 0, // Format settings
'i5_time_sep' => 0, 'dateFormat' => 5,
'dateSeperator' => 0,
'decimal' => 0,
'timeFormat' => 0,
'timeSeparator' => 0,
// Performances settings
'blockFetch' => 1,
'blockSizeKB' => 32,
'allowDataCompression' => 1,
'concurrency' => 0,
'lazyClose' => 0,
'maxFieldLength' => 15360,
'prefetch' => 0,
'queryTimeout' => 1,
// Modules settings
'defaultPkgLibrary' => 'QGPL',
'defaultPackage' => 'A/DEFAULT(IBM),2,0,1,0',
'extendedDynamic' => 1,
// Diagnostic settings
'QAQQINILibrary' => '',
'sqDiagCode' => '',
// Sort settings
'languageId' => 'ENU',
'sortTable' => '',
'sortSequence' => 0,
'sortWeight' => 0,
'jobSort' => 0,
// Conversion settings
'allowUnsupportedChar' => 0,
'ccsid' => 1208,
'graphic' => 0,
'forceTranslation' => 0,
// Other settings
'allowProcCalls' => 0,
'DB2SqlStates' => 0,
'debug' => 0,
'trueAutoCommit' => 0,
'catalogOptions' => 3,
'libraryView' => 0,
'ODBCRemarks' => 0,
'searchPattern' => 1,
'translationDLL' => '',
'translationOption' => 0,
'maxTraceSize' => 0,
'multipleTraceFiles' => 1,
'trace' => 0,
'traceFilename' => '',
'extendedColInfo' => 0,
'options' => [ 'options' => [
PDO::ATTR_CASE => PDO::CASE_LOWER, PDO::ATTR_CASE => PDO::CASE_LOWER,
PDO::ATTR_EMULATE_PREPARES => false, PDO::ATTR_EMULATE_PREPARES => false,
PDO::ATTR_PERSISTENT => false PDO::ATTR_PERSISTENT => false
] ]
],
'ibm' => [
'driver' => 'ibm',
'host' => '',
'database' => '',
'username' => '',
'password' => '',
'charset' => 'utf8',
'ccsid' => 1208,
'prefix' => '',
'schema' => '',
'i5_libl' => '',
'i5_lib' => '',
'i5_commit' => 0,
'i5_naming' => 0,
'i5_date_fmt' => 5,
'i5_date_sep' => 0,
'i5_decimal_sep' => 0,
'i5_time_fmt' => 0,
'i5_time_sep' => 0,
'options' => [
PDO::ATTR_CASE => PDO::CASE_LOWER,
PDO::ATTR_EMULATE_PREPARES => false,
PDO::ATTR_PERSISTENT => false
]
], ],
``` ```