thecodingmachine/tdbm

Bug generated function with DateTimeImmutable parameter not formatted to string for query

TheoBiron opened this issue · 1 comments

When you have an unique index between a column of type datetime and others columns, it creates an auto-generated function, which expects a DateTimeImmutable parameter

Issue : this parameter is not formatted in the filter array => it crashes
Fix : Either format the date with a 'default format' (which one ?), or change the parameter type expected

See:

image