(ctx context.Context)
| 109 | } |
| 110 | |
| 111 | func (p *BasePersister) QueryWithNetwork(ctx context.Context) *pop.Query { |
| 112 | return p.Connection(ctx).Where("nid = ?", p.NetworkID(ctx)) |
| 113 | } |
| 114 | |
| 115 | func (p *BasePersister) Connection(ctx context.Context) *pop.Connection { |
| 116 | return popx.GetConnection(ctx, p.c) |