Documentation
¶
Index ¶
- type Config
- type Mysql
- type SessionOption
- func WithSessionAllowGlobalUpdate(AllowGlobalUpdate bool) SessionOption
- func WithSessionContext(Context context.Context) SessionOption
- func WithSessionCreateBatchSize(CreateBatchSize int) SessionOption
- func WithSessionDisableNestedTransaction(DisableNestedTransaction bool) SessionOption
- func WithSessionDryRun(DryRun bool) SessionOption
- func WithSessionFullSaveAssociations(FullSaveAssociations bool) SessionOption
- func WithSessionInitialized(Initialized bool) SessionOption
- func WithSessionLogger(Logger logger.Interface) SessionOption
- func WithSessionNewDB(NewDB bool) SessionOption
- func WithSessionNowFunc(NowFunc func() time.Time) SessionOption
- func WithSessionPrepareStmt(PrepareStmt bool) SessionOption
- func WithSessionQueryFields(QueryFields bool) SessionOption
- func WithSessionSkipDefaultTransaction(SkipDefaultTransaction bool) SessionOption
- func WithSessionSkipHooks(SkipHooks bool) SessionOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SessionOption ¶
func WithSessionAllowGlobalUpdate ¶
func WithSessionAllowGlobalUpdate(AllowGlobalUpdate bool) SessionOption
func WithSessionContext ¶
func WithSessionContext(Context context.Context) SessionOption
func WithSessionCreateBatchSize ¶
func WithSessionCreateBatchSize(CreateBatchSize int) SessionOption
func WithSessionDisableNestedTransaction ¶
func WithSessionDisableNestedTransaction(DisableNestedTransaction bool) SessionOption
func WithSessionDryRun ¶
func WithSessionDryRun(DryRun bool) SessionOption
func WithSessionFullSaveAssociations ¶
func WithSessionFullSaveAssociations(FullSaveAssociations bool) SessionOption
func WithSessionInitialized ¶
func WithSessionInitialized(Initialized bool) SessionOption
func WithSessionLogger ¶
func WithSessionLogger(Logger logger.Interface) SessionOption
func WithSessionNewDB ¶
func WithSessionNewDB(NewDB bool) SessionOption
func WithSessionNowFunc ¶
func WithSessionNowFunc(NowFunc func() time.Time) SessionOption
func WithSessionPrepareStmt ¶
func WithSessionPrepareStmt(PrepareStmt bool) SessionOption
func WithSessionQueryFields ¶
func WithSessionQueryFields(QueryFields bool) SessionOption
func WithSessionSkipDefaultTransaction ¶
func WithSessionSkipDefaultTransaction(SkipDefaultTransaction bool) SessionOption
func WithSessionSkipHooks ¶
func WithSessionSkipHooks(SkipHooks bool) SessionOption
Click to show internal directories.
Click to hide internal directories.