Skip to content

Commit

Permalink
Update advanced_query.md fix a typo (#769)
Browse files Browse the repository at this point in the history
  • Loading branch information
lijinliangyihao authored Jun 25, 2024
1 parent d736af9 commit 88fa525
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/docs/advanced_query.md
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ result := db.Where("processed = ?", false).FindInBatches(&results, 100, func(tx

## Query Hooks

GORM offers the ability to use hooks, such as `AfterFind`, which are triggered during the lifecycle of a query. These hooks allow for custom logic to be executed at specific points, such as after a record has been retrieved from the databas.
GORM offers the ability to use hooks, such as `AfterFind`, which are triggered during the lifecycle of a query. These hooks allow for custom logic to be executed at specific points, such as after a record has been retrieved from the database.

This hook is useful for post-query data manipulation or default value settings. For more detailed information and additional hook types, refer to [Hooks](hooks.html) in the GORM documentation.

Expand Down

0 comments on commit 88fa525

Please sign in to comment.