1
0
forked from ALHP/ALHP.GO

regen ent with version 0.10.0

This commit is contained in:
2022-02-10 19:21:16 +01:00
parent f0ac9d6052
commit adad7c1acd
10 changed files with 90 additions and 59 deletions

View File

@@ -87,6 +87,7 @@ func (c *Client) BeginTx(ctx context.Context, opts *sql.TxOptions) (*Tx, error)
cfg := c.config
cfg.driver = &txDriver{tx: tx, drv: c.driver}
return &Tx{
ctx: ctx,
config: cfg,
DbPackage: NewDbPackageClient(cfg),
}, nil