# Functions
NewDriver creates a new cowsql driver, which also implements the driver.Driver interface.
WithAttemptTimeout sets the timeout for each individual connection attempt.
WithConnectionBackoffCap sets the maximum connection retry backoff value, (regardless of the backoff factor) for retrying failed connection attempts.
WithConnectionBackoffFactor sets the exponential backoff factor for retrying failed connection attempts.
WithConnectionTimeout sets the connection timeout.
WithContext sets a global cancellation context.
WithContextTimeout sets the default client context timeout for DB.Begin() when no context deadline is provided.
WithDialFunc sets a custom dial function.
WithLogFunc sets a custom logging function.
WithRetryLimit sets the maximum number of connection retries.
WithTracing will emit a log message at the given level every time a statement gets executed.
# Variables
DefaultNodeStore is a convenience alias of client.DefaultNodeStore.
ErrNoAvailableLeader is returned as root cause of Open() if there's no leader available in the cluster.
# Structs
Conn implements the sql.Conn interface.
A Connector represents a driver in a fixed configuration and can create any number of equivalent Conns for use by multiple goroutines.
Driver perform queries against a cowsql server.
Result is the result of a query execution.
Rows is an iterator over an executed query's results.
Stmt is a prepared statement.
Tx is a transaction.
# Type aliases
DialFunc is a function that can be used to establish a network connection with a cowsql node.
Error is returned in case of database errors.
NodeInfo is a convenience alias of client.NodeInfo.
NodeStore is a convenience alias of client.NodeStore.
Option can be used to tweak driver parameters.