Download the PHP package dontdrinkandroot/doctrine-bundle without Composer
On this page you can find all versions of the php package dontdrinkandroot/doctrine-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download dontdrinkandroot/doctrine-bundle
More information about dontdrinkandroot/doctrine-bundle
Files in dontdrinkandroot/doctrine-bundle
Package doctrine-bundle
Short Description Symfony Bundle that provides Doctrine Utilities
License Apache-2.0
Informations about the package doctrine-bundle
dontdrinkandroot/doctrine-bundle
Types
instant
Maps Dontdrinkandroot\Common\Instant to an epoch-millis BIGINT column (like a Java long holding
System.currentTimeMillis()). On PostgreSQL the column is TIMESTAMP(6) WITH TIME ZONE instead (like
Hibernate's mapping of java.time.Instant), while the PHP representation remains epoch millis.
Transparent parameter binding
The bundle registers a Doctrine DBAL middleware that converts Instant query parameters to their
database representation automatically — you never need to specify the type explicitly:
This applies to all queries — DQL, QueryBuilder, native SQL and IN (...) lists. The conversion is
identical to an explicit instant bind: epoch millis on non-PostgreSQL platforms, UTC timestamp
strings on PostgreSQL. All other parameter values pass through unchanged.
All versions of doctrine-bundle with dependencies
symfony/symfony Version ~2.7
doctrine/doctrine-bundle Version ~1.4
dontdrinkandroot/utils Version 0.5.x-dev
dontdrinkandroot/doctrine Version 0.1.x-dev
dontdrinkandroot/utils-bundle Version 0.3.x-dev