Gorm provides the _______ function to execute raw SQL queries directly.

  • Exec
  • Query
  • Raw
  • Scan
Gorm provides the Exec function to execute raw SQL queries directly. This function is commonly used when you need to execute complex SQL queries or perform database operations that are not supported by Gorm's high-level abstractions. With Exec, you can directly execute SQL statements and handle the results accordingly.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *