iJanki / doctrine-mysql-dbal-extensions

Doctrine DBAL connection wrapper to add some mysql specific semantics. Currently insert on duplicate key update.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DBAL Extensions

Installation

Using composer:

composer require ijanki/doctrine-mysql-dbal-extensions

Setup

Configure doctrine dbal to use the wrapper class.

# config.yml
doctrine:
    dbal:
        wrapper_class: 'Ijanki\DBAL\Connection'

List of Extensions

  • insertOnDuplicateKey

Credits

INSPIRED BY https://github.com/yadakhov/insert-on-duplicate-key

License

This library is licensed under the MIT License - see the LICENSE file for details

About

Doctrine DBAL connection wrapper to add some mysql specific semantics. Currently insert on duplicate key update.

License:MIT License


Languages

Language:PHP 100.0%