func (dbc *Connection) Invoke(options ...InvocationOption) *Invocation {
	i := Invocation{
		Config:               dbc.Config,
		BufferPool:           dbc.BufferPool,
		Context:              context.Background(),
		Log:                  dbc.Log,
		Tracer:               dbc.Tracer,
		StatementInterceptor: dbc.StatementInterceptor,
	}
	if dbc.Connection != nil {
		i.DB = dbc.Connection
	}
	for _, option := range options {
		option(&i)
	}
	return &i
}
// Invoke returns a new invocation.
Invoke returns a new invocation.
// Invoke returns a new invocation .
func (dbc *Connection) Invoke(options ...InvocationOption) *Invocation {
	i := Invocation{
		Config:               dbc.Config,
		BufferPool:           dbc.BufferPool,
		Context:              context.Background(),
		Log:                  dbc.Log,
		Tracer:               dbc.Tracer,
		StatementInterceptor: dbc.StatementInterceptor,
	}
	if dbc.Connection != nil {
		i.DB = dbc.Connection
	}
	for _, option := range options {
		option(&i)
	}
	return &i
}
func ( dbc * Connection ) Invoke ( options ... InvocationOption ) * Invocation { i := Invocation { Config : dbc . Config , BufferPool : dbc . BufferPool , Context : context . Background ( ) , Log : dbc . Log , Tracer : dbc . Tracer , StatementInterceptor : dbc . StatementInterceptor , } if dbc . Connection != nil { i . DB = dbc . Connection } for _ , option := range options { option ( & i ) } return & i }
Invoke returns a new invocation.
Invoke returns a new invocation .