79132851

Date: 2024-10-28 09:56:50
Score: 2
Natty:
Report link

Problem solved !

Not having the habits to use raw sql, I think my stupid brain made an hybrid of SQL and DQL.

I needed to change :

"INSERT INTO brand (name, created_at) VALUES (name=:name, created_at=:date);";

into :

"INSERT INTO brand (name, created_at) VALUES (:name, :date);"
Reasons:
  • Blacklisted phrase (0.5): I need
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Yoc