github.com/ydb-platform/ydb-go-sdk/v3@v3.57.0/internal/xsql/conn_test.go (about)

     1  package xsql
     2  
     3  import (
     4  	"context"
     5  )
     6  
     7  var (
     8  	_ interface {
     9  		GetDatabaseName() string
    10  	} = (*conn)(nil)
    11  
    12  	_ interface {
    13  		Version(ctx context.Context) (version string, err error)
    14  	} = (*conn)(nil)
    15  
    16  	_ interface {
    17  		IsTableExists(ctx context.Context, tableName string) (tableExists bool, err error)
    18  	} = (*conn)(nil)
    19  
    20  	_ interface {
    21  		IsColumnExists(ctx context.Context, tableName string, columnName string) (columnExists bool, err error)
    22  	} = (*conn)(nil)
    23  
    24  	_ interface {
    25  		IsPrimaryKey(ctx context.Context, tableName string, columnName string) (ok bool, err error)
    26  	} = (*conn)(nil)
    27  
    28  	_ interface {
    29  		GetColumns(ctx context.Context, tableName string) (columns []string, err error)
    30  	} = (*conn)(nil)
    31  
    32  	_ interface {
    33  		GetColumnType(ctx context.Context, tableName string, columnName string) (dataType string, err error)
    34  	} = (*conn)(nil)
    35  
    36  	_ interface {
    37  		GetPrimaryKeys(ctx context.Context, tableName string) (pkCols []string, err error)
    38  	} = (*conn)(nil)
    39  
    40  	_ interface {
    41  		GetTables(ctx context.Context, folder string, recursive bool, excludeSysDirs bool) (tables []string, err error)
    42  	} = (*conn)(nil)
    43  
    44  	_ interface {
    45  		GetIndexes(ctx context.Context, tableName string) (indexes []string, err error)
    46  	} = (*conn)(nil)
    47  
    48  	_ interface {
    49  		GetIndexColumns(ctx context.Context, tableName string, indexName string) (columns []string, err error)
    50  	} = (*conn)(nil)
    51  )