Versions in this module Expand all Collapse all v0 v0.1.1 Sep 20, 2020 v0.1.0 Sep 13, 2020 Changes in this version + var CqlDriver = &CqlDriverStruct + var DbConsistency = map[gocql.Consistency]string + var DbConsistencyLevels = map[string]gocql.Consistency + var ErrNamedValuesNotSupported = fmt.Errorf("named values not supported") + var ErrNotImplementedYet = fmt.Errorf("not implemented yet") + var ErrNotSupported = fmt.Errorf("not supported") + var ErrOrdinalOutOfRange = fmt.Errorf("ordinal out of range") + var ErrQueryIsNil = fmt.Errorf("query is nil") + func ClusterConfigToConfigString(clusterConfig *gocql.ClusterConfig) string + func ConfigStringToClusterConfig(configString string) (*gocql.ClusterConfig, error) + func DurationToDuration(cqlDuration gocql.Duration) time.Duration + func InterfaceToDuration(aInterface interface{}) time.Duration + func NewClusterConfig(hosts ...string) *gocql.ClusterConfig + func NewConnector(hosts ...string) driver.Connector + type CqlConnector struct + ClusterConfig *gocql.ClusterConfig + Logger *log.Logger + func (cqlConnector *CqlConnector) Connect(ctx context.Context) (driver.Conn, error) + func (cqlConnector *CqlConnector) Driver() driver.Driver + type CqlDriverStruct struct + Logger *log.Logger + func (cqlDriver *CqlDriverStruct) Open(configString string) (driver.Conn, error) + func (cqlDriver *CqlDriverStruct) OpenConnector(configString string) (driver.Connector, error) + type CqlStmt struct + CqlQuery *gocql.Query + func (cqlStmt *CqlStmt) Close() error + func (cqlStmt *CqlStmt) ColumnConverter(index int) driver.ValueConverter + func (cqlStmt *CqlStmt) Exec(args []driver.Value) (driver.Result, error) + func (cqlStmt *CqlStmt) ExecContext(ctx context.Context, args []driver.NamedValue) (driver.Result, error) + func (cqlStmt *CqlStmt) NumInput() int + func (cqlStmt *CqlStmt) Query(args []driver.Value) (driver.Rows, error) + func (cqlStmt *CqlStmt) QueryContext(ctx context.Context, args []driver.NamedValue) (driver.Rows, error)