Doctrine (Oroinc/DoctrineExtensions) extension for Nette Framework
Install package
composer require nettrine/extensions-oroinc
Register extension
extensions:
nettrine.extensions.oroinc: Nettrine\Extensions\Oroinc\DI\OroincBehaviorExtension
Specify the same driver as for the Doctrine DBAL connection, all of Oroinc/DoctrineExtensions custom DQL functions for the given driver will be registered.
nettrine.extensions.oroinc:
driver: mysql
# mysql - 'mysql', 'mysql2', 'pdo_mysql'
# postgre - 'pgsql', 'postgres', 'postgresql', 'pdo_pgsql'
Field types MoneyType
, PercentType
, ObjectType
and ArrayType
are always registered to your Connection
.