Documentation
      ¶
    
    
  
    
  
    Index ¶
- Constants
 - Variables
 - type Connector
 - func (c *Connector) Bindings() bind.Bindings
 - func (c *Connector) Clock() clockwork.Clock
 - func (c *Connector) Close() error
 - func (c *Connector) Connect(ctx context.Context) (driver.Conn, error)
 - func (c *Connector) Driver() driver.Driver
 - func (c *Connector) Name() string
 - func (c *Connector) Open(name string) (driver.Conn, error)
 - func (c *Connector) Parent() ydbDriver
 - func (c *Connector) Query() *query.Client
 - func (c *Connector) RetryBudget() budget.Budget
 - func (c *Connector) Scheme() scheme.Client
 - func (c *Connector) Scripting() scripting.Client
 - func (c *Connector) Table() table.Client
 - func (c *Connector) Trace() *trace.DatabaseSQL
 - func (c *Connector) TraceRetry() *trace.Retry
 
- type Option
 - func OverQueryService() Option
 - func OverTableService() Option
 - func WithDefaultQueryMode(mode tableSql.QueryMode) Option
 - func WithDisableServerBalancer() Option
 - func WithFakeTx(modes ...tableSql.QueryMode) Option
 - func WithIdleThreshold(idleThreshold time.Duration) Option
 - func WithOnClose(onClose func(*Connector)) Option
 - func WithQueryOptions(opts ...querySql.Option) Option
 - func WithRetryBudget(budget budget.Budget) Option
 - func WithTableOptions(opts ...tableSql.Option) Option
 - func WithTrace(t *trace.DatabaseSQL, opts ...trace.DatabaseSQLComposeOption) Option
 - func WithTraceRetry(t *trace.Retry, opts ...trace.RetryComposeOption) Option
 
- type QueryBindOption
 
Constants ¶
      View Source
      
  
const ( QUERY_SERVICE = iota + 1 //nolint:revive,stylecheck TABLE_SERVICE //nolint:revive,stylecheck )
Variables ¶
      View Source
      
  
var (
	ErrUnsupported = driver.ErrSkip
)
    Functions ¶
This section is empty.
Types ¶
type Connector ¶
type Connector struct {
	TableOpts []tableSql.Option
	QueryOpts []querySql.Option
	// contains filtered or unexported fields
}
    func Open ¶
func Open(parent ydbDriver, balancer grpc.ClientConnInterface, opts ...Option) (_ *Connector, err error)
func (*Connector) RetryBudget ¶
func (*Connector) Trace ¶
func (c *Connector) Trace() *trace.DatabaseSQL
func (*Connector) TraceRetry ¶
type Option ¶
func OverQueryService ¶
func OverQueryService() Option
func OverTableService ¶
func OverTableService() Option
func WithDefaultQueryMode ¶
func WithDisableServerBalancer ¶
func WithDisableServerBalancer() Option
func WithFakeTx ¶
func WithIdleThreshold ¶
func WithOnClose ¶
func WithQueryOptions ¶
func WithRetryBudget ¶
func WithTableOptions ¶
func WithTrace ¶
func WithTrace( t *trace.DatabaseSQL, opts ...trace.DatabaseSQLComposeOption, ) Option
func WithTraceRetry ¶
func WithTraceRetry( t *trace.Retry, opts ...trace.RetryComposeOption, ) Option
type QueryBindOption ¶
func WithQueryBind ¶
func WithQueryBind(bind bind.Bind) QueryBindOption
func WithTablePathPrefix ¶
func WithTablePathPrefix(tablePathPrefix string) QueryBindOption
 Click to show internal directories. 
   Click to hide internal directories.