You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
INSERT INTO location (name,created_at,updated_at) VALUES (?,?,?)
will return 1 changes , but when I call
INSERT INTO location (name,created_at,updated_at) VALUES (?,?,?) RETURNING id
It returns 0 changes and causes the insert function to return error!
The text was updated successfully, but these errors were encountered:
nimdeveloper
changed the title
Using RETURNING statement in sql causes the insert method to return error
Using RETURNING Clause in sql causes the insert method to return error
Apr 18, 2025
calling following query using the
execute
:will return
1
changes , but when I callIt returns
0
changes and causes theinsert
function to return error!The text was updated successfully, but these errors were encountered: