postgresql-for-doctrine
postgresql-for-doctrine copied to clipboard
PostgreSQL enhancements for Doctrine. Provides support for advanced data types (json, jssnb, arrays), text search, array operators and jsonb specific functions.
JsonB type has now limitation on convertToPhpValue function. You can't convert to some custom php classes now like this: public function convertToPHPValue($value, AbstractPlatform $platform): Currency Any reason behind limiting convert...
The use of Literal was preventing usage of doctrine input parameters as `:myQueryInputParameter` So to allow its use I changed Literals to StringPrimary accepting more diverse parameters including InputParameter and...
Hey, The way `MartinGeorgiev\Doctrine\DBAL\Types\TextArray` converts database values to php floats/int broke my expectations. When I save `['a', '1', '0.1']` to my database, I expect to get back the same `['a',...
`ANY` should accept `text[]` field, currently throw a `Expected Doctrine\ORM\Query\Lexer::T_SELECT`
i.e if I have a field `featureFlags` which is declared as `text[]` and I try to do ``` $this->em->createQuery(" SELECT u FROM App\Entity\EndUser u WHERE 'something' = ANY(u.featureFlags) "); ```...
Not really an issue, but a suggestion, I've implemented FloatArray locally for a project: ```php class FloatArray extends BaseArray { protected const TYPE_NAME = 'float[]'; /** * @param mixed $item...
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [friendsofphp/php-cs-fixer](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer) | `^3.57.1` -> `^3.59.3` | [](https://docs.renovatebot.com/merge-confidence/)...
Hi, Is it possible to add the [split_part](https://www.postgresql.org/docs/current/functions-string.html#id-1.5.8.10.7.2.2.32.1.1.1) function, please?
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [friendsofphp/php-cs-fixer](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer) | `^3.62.0` -> `^3.63.2` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/)...
I have issue similar to #71, but this time with `text[]` field: ``` #[ORM\Column(name: 'applicable_to', type: 'text[]', nullable: true, enumType: DomainEnum::class)] protected ?array $applicableTo = null; ``` The up migration...
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [phpunit/phpunit](https://phpunit.de/) ([source](https://redirect.github.com/sebastianbergmann/phpunit)) | `^10.5.36` -> `^10.5.37` | [](https://docs.renovatebot.com/merge-confidence/) |...