neat-php / object

Neat Object components
MIT License
4 stars 1 forks source link

Reading non-scalar property values #8

Open annavanbiemen opened 5 years ago

annavanbiemen commented 5 years ago

When a property containing a non-scalar value is encountered during a store() operation, the property object returns the value as-is resulting in an SQL error when the database interprets the value as a list of values (as you would use in a WHERE .. IN (..) clause).

baukevdw commented 4 years ago

Can be fixed with #14 should throw an error when the property is neither Scalar, DateTimeInterface or Serializable.