Skip to content

Releases: larapulse/database

Ability to add custom options while connection using `ConnectionManager`

12 Dec 17:33
82868ce
Compare
Choose a tag to compare

Added

  • Ability to add custom options while connection using ConnectionManager

Removed

  • Useless private method setConnection in ConnectionManager

Fixed

  • Code readability

Deprecate plain function usage

22 Nov 19:46
Compare
Choose a tag to compare

Deprecated

  • Usage of Utils/array_functions.php and will be completely deleted in next MINOR release

BulkSql feature

18 Nov 15:51
Compare
Choose a tag to compare

Added

  • Optional options from $config while initializing Driver\Engine. Have more priority, then default options from Driver\Engine
  • Array functions in League\Database\Utils namespace, such as:
    ⋅⋅⋅ array_is_assoc
    ⋅⋅⋅ array_depth
    ⋅⋅⋅ array_flatten
    ⋅⋅⋅ array_flatten_assoc
    ⋅⋅⋅is_array_of_type
  • BulkSql feature
Read more...
* `BulkInsert`, `BulkReplace` and `BulkDelete` classes 
* `BulkSqlTrait` with `iterateOverItems` method
* `IGeneralSql` and `IBulkSql` interfaces

Fixed

  • Methods return types in Utils\Transaction
  • League\Database\Utils\Transaction rename method try to attempt

Removed

  • hhvm support from travis-ci.yml

Base skeleton of project

16 Nov 09:12
Compare
Choose a tag to compare

2017-09-30

Added

  • Driver\Engine class to set connection with DB
  • Utils\Transaction class to operate with transaction in static context
  • ConnectionManager wrapper class to set connection for master and slave connections