mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
[PR #83] fixes DDC-1150 #7695
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Original Pull Request: https://github.com/doctrine/orm/pull/83
State: closed
Merged: No
Hey guys,
I got annoyed by this bug until I found it already had an issue. It is a bug when using an array as value for a association field in a
find*By()method.As @beberlei pointed out, we could just assume that the value is a
PDO::PARAM_STR.Searching through the ORM Tools, I found that
SchemaToolchecks the type of an association field (ifstringordecimal) even if I can't specify a column type to a property that is an association (maybe just hacking like inSchemaToolTest- not sure, am I correct?).That it's. Maybe not the best thing from the database POV but at least make the API more consistent (like
setParameterwith an array value parameter).