Change README

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

105
README.md
View File

@ -21,7 +21,7 @@ Add laravel-db2 to your composer.json file:
``` ```
"require": { "require": {
"cooperl/laravel-db2": "~1.0" "cooperl/laravel-db2": "~2.0"
} }
``` ```
@ -56,51 +56,72 @@ 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,
'options' => [ 'dateSeperator' => 0,
PDO::ATTR_CASE => PDO::CASE_LOWER, 'decimal' => 0,
PDO::ATTR_EMULATE_PREPARES => false, 'timeFormat' => 0,
PDO::ATTR_PERSISTENT => false 'timeSeparator' => 0,
] // Performances settings
], 'blockFetch' => 1,
'blockSizeKB' => 32,
'ibm' => [ 'allowDataCompression' => 1,
'driver' => 'ibm', 'concurrency' => 0,
'host' => '', 'lazyClose' => 0,
'database' => '', 'maxFieldLength' => 15360,
'username' => '', 'prefetch' => 0,
'password' => '', 'queryTimeout' => 1,
'charset' => 'utf8', // 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, 'ccsid' => 1208,
'prefix' => '', 'graphic' => 0,
'schema' => '', 'forceTranslation' => 0,
'i5_libl' => '', // Other settings
'i5_lib' => '', 'allowProcCalls' => 0,
'i5_commit' => 0, 'DB2SqlStates' => 0,
'i5_naming' => 0, 'debug' => 0,
'i5_date_fmt' => 5, 'trueAutoCommit' => 0,
'i5_date_sep' => 0, 'catalogOptions' => 3,
'i5_decimal_sep' => 0, 'libraryView' => 0,
'i5_time_fmt' => 0, 'ODBCRemarks' => 0,
'i5_time_sep' => 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,