package
1.1.1
Repository: https://github.com/v587-zyf/gc.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
CreateManyModel creates multiple model instances in the database.
CreateModel creates a new model instance in the database.
No description provided by the author
No description provided by the author
No description provided by the author
LoadModel loads a model instance by its primary ID.
MustDeleteModel permanently deletes a model instance from the database.
No description provided by the author
No description provided by the author
SaveModel saves a model instance to the database.
SoftDeleteModel soft-deletes a model instance from the database.
UpdateModel updates a model instance in the database.
UpdateWhereModel updates a model instance based on a condition.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

ExampleModel represents a simple model with an optimistic locking Version field.
No description provided by the author
No description provided by the author
OptimisticLocker struct defines the optimistic locking plugin.

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author