diff --git a/404.html b/404.html
index 3dff9bdb9bb..ac10100dd1c 100644
--- a/404.html
+++ b/404.html
@@ -32,8 +32,8 @@
-
-
+
+
diff --git a/ar_SA/index.html b/ar_SA/index.html
index 6925889be76..80b25abcdab 100644
--- a/ar_SA/index.html
+++ b/ar_SA/index.html
@@ -56,8 +56,8 @@
-
-
+
+
diff --git a/az_AZ/404.html b/az_AZ/404.html
index 818b01ce5a7..34758238aaa 100644
--- a/az_AZ/404.html
+++ b/az_AZ/404.html
@@ -32,8 +32,8 @@
-
-
+
+
diff --git a/az_AZ/index.html b/az_AZ/index.html
index 8773550c419..854e63804d6 100644
--- a/az_AZ/index.html
+++ b/az_AZ/index.html
@@ -56,8 +56,8 @@
-
-
+
+
diff --git a/community.html b/community.html
index fb4a546986e..08b8b488e55 100644
--- a/community.html
+++ b/community.html
@@ -56,8 +56,8 @@
-
-
+
+
@@ -185,7 +185,7 @@
result := db.Where("processed = ?" , false ).FindInBatches(&results, 100 , func (tx *gorm.DB, batch int ) error { for _, result := range results { } tx.Save(&results) return nil })
FindInBatches
is an effective tool for processing large volumes of data in manageable chunks, optimizing resource usage and performance.
-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.
+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 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 in the GORM documentation.
func (u *User) AfterFind(tx *gorm.DB) (err error ) { if u.Role == "" { u.Role = "user" } return }
@@ -253,7 +253,7 @@
- Last updated: 2024-06-19
+ Last updated: 2024-06-25
Prev Next
diff --git a/docs/associations.html b/docs/associations.html
index 8d14a8ac110..4f5773a8839 100644
--- a/docs/associations.html
+++ b/docs/associations.html
@@ -56,8 +56,8 @@
-
-
+
+
@@ -287,7 +287,7 @@
- Last updated: 2024-06-19
+ Last updated: 2024-06-25
Prev Next
diff --git a/docs/belongs_to.html b/docs/belongs_to.html
index f3926cdde1f..0a8d5049094 100644
--- a/docs/belongs_to.html
+++ b/docs/belongs_to.html
@@ -56,8 +56,8 @@
-
-
+
+
@@ -177,7 +177,7 @@
- Last updated: 2024-06-19
+ Last updated: 2024-06-25
Prev Next
diff --git a/docs/changelog.html b/docs/changelog.html
index 05f6d97cb2a..96c71fb0283 100644
--- a/docs/changelog.html
+++ b/docs/changelog.html
@@ -56,8 +56,8 @@
-
-
+
+
@@ -182,7 +182,7 @@ Prev Next
diff --git a/docs/composite_primary_key.html b/docs/composite_primary_key.html
index 373b0290dad..fae8f355be7 100644
--- a/docs/composite_primary_key.html
+++ b/docs/composite_primary_key.html
@@ -56,8 +56,8 @@
-
-
+
+
@@ -158,7 +158,7 @@ Composite Primary Key
- Last updated: 2024-06-19
+ Last updated: 2024-06-25
Prev Next
diff --git a/docs/connecting_to_the_database.html b/docs/connecting_to_the_database.html
index b4d0719bd9b..6285b7a1aa1 100644
--- a/docs/connecting_to_the_database.html
+++ b/docs/connecting_to_the_database.html
@@ -56,8 +56,8 @@
-
-
+
+
@@ -204,7 +204,7 @@
- Last updated: 2024-06-19
+ Last updated: 2024-06-25
Prev Next
diff --git a/docs/constraints.html b/docs/constraints.html
index 04465096b49..4eea4bb13ca 100644
--- a/docs/constraints.html
+++ b/docs/constraints.html
@@ -56,8 +56,8 @@
-
-
+
+
@@ -163,7 +163,7 @@
- Last updated: 2024-06-19
+ Last updated: 2024-06-25
Prev Next
diff --git a/docs/context.html b/docs/context.html
index 49f8115b0cb..86fc56f06d4 100644
--- a/docs/context.html
+++ b/docs/context.html
@@ -56,8 +56,8 @@
-
-
+
+
@@ -172,7 +172,7 @@
- Last updated: 2024-06-19
+ Last updated: 2024-06-25
Prev Next
diff --git a/docs/conventions.html b/docs/conventions.html
index d549171968a..b7cd1273f48 100644
--- a/docs/conventions.html
+++ b/docs/conventions.html
@@ -56,8 +56,8 @@
-
-
+
+
@@ -194,7 +194,7 @@ Prev Next
diff --git a/docs/create.html b/docs/create.html
index 15eae090fe7..2da4d0e811a 100644
--- a/docs/create.html
+++ b/docs/create.html
@@ -56,8 +56,8 @@
-
-
+
+
@@ -228,7 +228,7 @@
- Last updated: 2024-06-19
+ Last updated: 2024-06-25
Prev Next
diff --git a/docs/data_types.html b/docs/data_types.html
index 82d6d4aacde..cdcdb1d3571 100644
--- a/docs/data_types.html
+++ b/docs/data_types.html
@@ -56,8 +56,8 @@
-
-
+
+
@@ -189,7 +189,7 @@
- Last updated: 2024-06-19
+ Last updated: 2024-06-25
Prev Next
diff --git a/docs/dbresolver.html b/docs/dbresolver.html
index 125f668fbef..6a7be6a090d 100644
--- a/docs/dbresolver.html
+++ b/docs/dbresolver.html
@@ -56,8 +56,8 @@
-
-
+
+
@@ -183,7 +183,7 @@
- Last updated: 2024-06-19
+ Last updated: 2024-06-25
Prev Next
diff --git a/docs/delete.html b/docs/delete.html
index dbac34c468f..4b5ccb737f9 100644
--- a/docs/delete.html
+++ b/docs/delete.html
@@ -56,8 +56,8 @@
-
-
+
+
@@ -202,7 +202,7 @@ Prev Next
diff --git a/docs/error_handling.html b/docs/error_handling.html
index e6646bd0b0d..c37d1a3f127 100644
--- a/docs/error_handling.html
+++ b/docs/error_handling.html
@@ -56,8 +56,8 @@
-
-
+
+
@@ -187,7 +187,7 @@ Prev Next
diff --git a/docs/generic_interface.html b/docs/generic_interface.html
index 33910b89cb2..6443477f03b 100644
--- a/docs/generic_interface.html
+++ b/docs/generic_interface.html
@@ -56,8 +56,8 @@
-
-
+
+
@@ -160,7 +160,7 @@
- Last updated: 2024-06-19
+ Last updated: 2024-06-25
Prev Next
diff --git a/docs/gorm_config.html b/docs/gorm_config.html
index e0cfd9c3cc6..4c0b3f39cc6 100644
--- a/docs/gorm_config.html
+++ b/docs/gorm_config.html
@@ -56,8 +56,8 @@
-
-
+
+
@@ -182,7 +182,7 @@
- Last updated: 2024-06-19
+ Last updated: 2024-06-25
Prev Next
diff --git a/docs/has_many.html b/docs/has_many.html
index a6ae4e97ef3..bea850e3619 100644
--- a/docs/has_many.html
+++ b/docs/has_many.html
@@ -56,8 +56,8 @@
-
-
+
+
@@ -178,7 +178,7 @@
- Last updated: 2024-06-19
+ Last updated: 2024-06-25
Prev Next
diff --git a/docs/has_one.html b/docs/has_one.html
index 07ce6d2e9da..cfe9e815730 100644
--- a/docs/has_one.html
+++ b/docs/has_one.html
@@ -56,8 +56,8 @@
-
-
+
+
@@ -177,7 +177,7 @@
- Last updated: 2024-06-19
+ Last updated: 2024-06-25
Prev Next
diff --git a/docs/hints.html b/docs/hints.html
index 179a4df93b1..7ecd0d9648c 100644
--- a/docs/hints.html
+++ b/docs/hints.html
@@ -56,8 +56,8 @@
-
-
+
+
@@ -160,7 +160,7 @@ Prev Next
diff --git a/docs/hooks.html b/docs/hooks.html
index 56c7caff0f4..82a59e8adfb 100644
--- a/docs/hooks.html
+++ b/docs/hooks.html
@@ -56,8 +56,8 @@
-
-
+
+
@@ -186,7 +186,7 @@
- Last updated: 2024-06-19
+ Last updated: 2024-06-25
Prev Next
diff --git a/docs/index.html b/docs/index.html
index d5595cb954f..92de93d9533 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -56,8 +56,8 @@
-
-
+
+
@@ -173,7 +173,7 @@ Next
diff --git a/docs/indexes.html b/docs/indexes.html
index 01257dd9b46..dd554ee5c70 100644
--- a/docs/indexes.html
+++ b/docs/indexes.html
@@ -56,8 +56,8 @@
-
-
+
+
@@ -179,7 +179,7 @@
- Last updated: 2024-06-19
+ Last updated: 2024-06-25
Prev Next
diff --git a/docs/logger.html b/docs/logger.html
index 0efe82197c0..1cd4d89d031 100644
--- a/docs/logger.html
+++ b/docs/logger.html
@@ -56,8 +56,8 @@
-
-
+
+
@@ -166,7 +166,7 @@
- Last updated: 2024-06-19
+ Last updated: 2024-06-25
Prev Next
diff --git a/docs/many_to_many.html b/docs/many_to_many.html
index fea6da8ccc1..424fa69afae 100644
--- a/docs/many_to_many.html
+++ b/docs/many_to_many.html
@@ -56,8 +56,8 @@
-
-
+
+
@@ -191,7 +191,7 @@
- Last updated: 2024-06-19
+ Last updated: 2024-06-25
Prev Next
diff --git a/docs/method_chaining.html b/docs/method_chaining.html
index d917b7b7e74..d482e3243ab 100644
--- a/docs/method_chaining.html
+++ b/docs/method_chaining.html
@@ -56,8 +56,8 @@
-
-
+
+
@@ -210,7 +210,7 @@
- Last updated: 2024-06-19
+ Last updated: 2024-06-25
Prev Next
diff --git a/docs/migration.html b/docs/migration.html
index e4b672d992f..7baff27a77d 100644
--- a/docs/migration.html
+++ b/docs/migration.html
@@ -56,8 +56,8 @@
-
-
+
+
@@ -206,7 +206,7 @@
- Last updated: 2024-06-19
+ Last updated: 2024-06-25
Prev Next
diff --git a/docs/models.html b/docs/models.html
index 5b961df5313..1b7973fd0ee 100644
--- a/docs/models.html
+++ b/docs/models.html
@@ -56,8 +56,8 @@
-
-
+
+
@@ -315,7 +315,7 @@
- Last updated: 2024-06-19
+ Last updated: 2024-06-25
Prev Next
diff --git a/docs/performance.html b/docs/performance.html
index 5c60321265c..78c13539bf8 100644
--- a/docs/performance.html
+++ b/docs/performance.html
@@ -56,8 +56,8 @@
-
-
+
+
@@ -178,7 +178,7 @@
- Last updated: 2024-06-19
+ Last updated: 2024-06-25
Prev Next
diff --git a/docs/polymorphism.html b/docs/polymorphism.html
index 3e02ea4925e..763dd5aa2e4 100644
--- a/docs/polymorphism.html
+++ b/docs/polymorphism.html
@@ -32,8 +32,8 @@
-
-
+
+
@@ -143,7 +143,7 @@ Polymorphism
- Last updated: 2024-06-19
+ Last updated: 2024-06-25
Prev Next
diff --git a/docs/preload.html b/docs/preload.html
index 685f1c0f18e..1dd39722665 100644
--- a/docs/preload.html
+++ b/docs/preload.html
@@ -56,8 +56,8 @@
-
-
+
+
@@ -191,7 +191,7 @@
- Last updated: 2024-06-19
+ Last updated: 2024-06-25
Prev Next
diff --git a/docs/prometheus.html b/docs/prometheus.html
index 42917ec3a2e..4026101b2c3 100644
--- a/docs/prometheus.html
+++ b/docs/prometheus.html
@@ -56,8 +56,8 @@
-
-
+
+
@@ -162,7 +162,7 @@ Prev Next
diff --git a/docs/query.html b/docs/query.html
index b04be165dc2..1f4bedd73fa 100644
--- a/docs/query.html
+++ b/docs/query.html
@@ -56,8 +56,8 @@
-
-
+
+
@@ -243,7 +243,7 @@ Prev Next
diff --git a/docs/scopes.html b/docs/scopes.html
index 292ee0e45e0..2aac8788da5 100644
--- a/docs/scopes.html
+++ b/docs/scopes.html
@@ -56,8 +56,8 @@
-
-
+
+
@@ -164,7 +164,7 @@ Prev Next
diff --git a/docs/security.html b/docs/security.html
index 06e1ca08ead..0a276907b08 100644
--- a/docs/security.html
+++ b/docs/security.html
@@ -56,8 +56,8 @@
-
-
+
+
@@ -169,7 +169,7 @@
- Last updated: 2024-06-19
+ Last updated: 2024-06-25
Prev Next
diff --git a/docs/serializer.html b/docs/serializer.html
index c89fe67d402..f3e26899f1c 100644
--- a/docs/serializer.html
+++ b/docs/serializer.html
@@ -56,8 +56,8 @@
-
-
+
+
@@ -171,7 +171,7 @@
- Last updated: 2024-06-19
+ Last updated: 2024-06-25
Prev Next
diff --git a/docs/session.html b/docs/session.html
index 943dfb7d485..391a6fc0cdd 100644
--- a/docs/session.html
+++ b/docs/session.html
@@ -56,8 +56,8 @@
-
-
+
+
@@ -204,7 +204,7 @@
- Last updated: 2024-06-19
+ Last updated: 2024-06-25
Prev Next
diff --git a/docs/settings.html b/docs/settings.html
index 010af61dc3a..b006f0f2a13 100644
--- a/docs/settings.html
+++ b/docs/settings.html
@@ -56,8 +56,8 @@
-
-
+
+
@@ -163,7 +163,7 @@
- Last updated: 2024-06-19
+ Last updated: 2024-06-25
Prev Next
diff --git a/docs/sharding.html b/docs/sharding.html
index 1b951a4a706..5f5228c6f7d 100644
--- a/docs/sharding.html
+++ b/docs/sharding.html
@@ -56,8 +56,8 @@
-
-
+
+
@@ -168,7 +168,7 @@ Prev Next
diff --git a/docs/sql_builder.html b/docs/sql_builder.html
index 8240651fcfe..3e2a5df6f8a 100644
--- a/docs/sql_builder.html
+++ b/docs/sql_builder.html
@@ -56,8 +56,8 @@
-
-
+
+
@@ -207,7 +207,7 @@
- Last updated: 2024-06-19
+ Last updated: 2024-06-25
Prev Next
diff --git a/docs/transactions.html b/docs/transactions.html
index 2e3e6727070..062637bd0e8 100644
--- a/docs/transactions.html
+++ b/docs/transactions.html
@@ -56,8 +56,8 @@
-
-
+
+
@@ -169,7 +169,7 @@
- Last updated: 2024-06-19
+ Last updated: 2024-06-25
Prev Next
diff --git a/docs/update.html b/docs/update.html
index 814a069a27a..1d7e7446996 100644
--- a/docs/update.html
+++ b/docs/update.html
@@ -56,8 +56,8 @@
-
-
+
+
@@ -208,7 +208,7 @@
- Last updated: 2024-06-19
+ Last updated: 2024-06-25
Prev Next
diff --git a/docs/v2_release_note.html b/docs/v2_release_note.html
index d3c24bb42c0..9897b64aa62 100644
--- a/docs/v2_release_note.html
+++ b/docs/v2_release_note.html
@@ -56,8 +56,8 @@
-
-
+
+
@@ -355,7 +355,7 @@ Next
diff --git a/docs/write_driver.html b/docs/write_driver.html
index 28d0483b819..428ec858967 100644
--- a/docs/write_driver.html
+++ b/docs/write_driver.html
@@ -56,8 +56,8 @@
-
-
+
+
@@ -192,7 +192,7 @@
- Last updated: 2024-06-19
+ Last updated: 2024-06-25
Prev Next
diff --git a/docs/write_plugins.html b/docs/write_plugins.html
index 9caa6683da9..fba00582a74 100644
--- a/docs/write_plugins.html
+++ b/docs/write_plugins.html
@@ -56,8 +56,8 @@
-
-
+
+
@@ -186,7 +186,7 @@
- Last updated: 2024-06-19
+ Last updated: 2024-06-25
Prev Next
diff --git a/es_ES/404.html b/es_ES/404.html
index 18a74515912..b930028e86e 100644
--- a/es_ES/404.html
+++ b/es_ES/404.html
@@ -32,8 +32,8 @@
-
-
+
+
diff --git a/es_ES/community.html b/es_ES/community.html
index ffc5da84e4d..031e6753436 100644
--- a/es_ES/community.html
+++ b/es_ES/community.html
@@ -56,8 +56,8 @@
-
-
+
+
@@ -185,7 +185,7 @@
- Última actualización: 2024-06-19
+ Última actualización: 2024-06-25
diff --git a/es_ES/contribute.html b/es_ES/contribute.html
index cdab57be55f..cc9aa606139 100644
--- a/es_ES/contribute.html
+++ b/es_ES/contribute.html
@@ -56,8 +56,8 @@
-
-
+
+
@@ -173,7 +173,7 @@