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
Missing closing quote on last word: // UPDATE users SET name='hello', age=18 WHERE role = 'admin;
Should be // UPDATE users SET name='hello', age=18 WHERE role = 'admin';
The text was updated successfully, but these errors were encountered:
https://gorm.io/docs/update.html#Batch-Updates
Your Question
Missing closing quote on last word:
// UPDATE users SET name='hello', age=18 WHERE role = 'admin;
Should be
// UPDATE users SET name='hello', age=18 WHERE role = 'admin';
The text was updated successfully, but these errors were encountered: