Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InternalExecutor ¶
type InternalExecutor interface { // exec sql without returning results set Exec(string, SessionOverrideOptions) error // override session for the executor scope ApplySessionOverride(SessionOverrideOptions) }
type OptsBuilder ¶
type OptsBuilder struct {
// contains filtered or unexported fields
}
func NewOptsBuilder ¶
func NewOptsBuilder() *OptsBuilder
func (*OptsBuilder) Database ¶
func (s *OptsBuilder) Database(db string) *OptsBuilder
func (*OptsBuilder) Finish ¶
func (s *OptsBuilder) Finish() SessionOverrideOptions
func (*OptsBuilder) Internal ¶
func (s *OptsBuilder) Internal(b bool) *OptsBuilder
func (*OptsBuilder) Username ¶
func (s *OptsBuilder) Username(name string) *OptsBuilder
type SessionOverrideOptions ¶
Click to show internal directories.
Click to hide internal directories.