Discrepancies Between Raw SQL Queries and ORM Operations: Why Might They Behave Differently?
What could be the potential reasons for a query executed using the execute method to function correctly, while the same query using an ORM approach (i.e., db.insert().values(), etc.) doesn't produce the expected results or doesn't work properly? First screenshot doesn't work, while second one works properly
![](https://cdn.answeroverflow.com/1137037926144954388/Screenshot_2023-08-04_at_21.00.27.png)
![](https://cdn.answeroverflow.com/1137037926438535178/Screenshot_2023-08-04_at_21.02.27.png)
0 Replies