# Functions
NewBasicAuthConnector creates a connector for basic authentication.
NewConnector returns a new Connector instance with default values.
NewDSNConnector creates a connector from a data source name.
NewJWTAuthConnector creates a connector for token (JWT) based authentication.
NewLob creates a new Lob instance with the io.Reader and io.Writer given as parameters.
NewSniffer creates a new sniffer instance.
NewStructScanner returns a new struct scanner.
NewX509AuthConnector creates a connector for X509 (client certificate) authentication.
NewX509AuthConnectorByFiles creates a connector for X509 (client certificate) authentication based on client certificate and client key files.
OpenDB opens and returns a database.
ParseDSN parses a DSN string into a DSN structure.
RandomIdentifier returns a random Identifier prefixed by the prefix parameter.
ScanLobBytes supports scanning Lob data into a byte slice.
ScanLobString supports scanning Lob data into a string.
ScanLobWriter supports scanning Lob data into a io.Writer object.
SetSQLTrace sets sql tracing output active or inactive.
SQLTrace returns true if sql tracing output is active, false otherwise.
Unregister unregisters the go-hdb driver and frees all allocated ressources.
WithStmtMetadata can be used to add a statement metadata reference to the context used for a Prepare call.
WithUserSwitch can be used to switch a user on a new or an existing connection (see https://help.sap.com/docs/hana-cloud-database/sap-hana-cloud-sap-hana-database-sql-reference-guide/connect-statement-session-management).
# Constants
DriverName is the driver name to use with sql.Open for hdb databases.
DriverVersion is the version number of the hdb driver.
Tenant database name.
Database default schema.
Connection ping interval in seconds.
Driver side connection timeout in seconds.
Controls whether a client verifies the server's certificate chain and host name.
Path,- filename to root certificate(s).
ServerName to verify the hostname.
HDB error levels.
HDB error levels.
HDB error levels.
# Variables
ErrEndOfRows is the error to be returned using a function based bulk exec to indicate the end of rows.
ErrNestedQuery is the error raised if a new sql statement is sent to the database server before the resultset processing of a previous sql query statement is finalized.
ErrNestedTransaction is the error raised if a transaction is created within a transaction as this is not supported by hdb.
ErrScanOnClosedResultset is the error raised in case a scan is executed on a closed resultset.
ErrSwitchUser is the error raised if a switch user is requested in a not allowed context.
ErrUnsupportedIsolationLevel is the error raised if a transaction is started with a not supported isolation level.
# Structs
A Connector represents a hdb driver in a fixed configuration.
DB represents a driver database and can be used as a replacement for sql.DB.
DBConnectInfo represents the connection information attributes returned by hdb.
A DSN represents a parsed DSN string.
A Lob is the driver representation of a database large object field.
NullBytes represents an []byte that may be null.
NullDecimal represents an Decimal that may be null.
NullLob represents an Lob that may be null.
ParseError is the error returned in case DSN is invalid.
SessionUser provides the fields for a hdb 'connect' (switch user) statement.
A Sniffer is a simple proxy for logging hdb protocol requests and responses.
Stats contains driver statistics.
StatsHistogram represents statistic data in a histogram structure.
StructScanner is a database scanner to scan rows into a struct of type S.
TLSPrms is holding the TLS parameters of a DSN structure.
Version is representing a hdb version.
# Interfaces
ColumnType equals sql.ColumnType.
Conn enhances a connection with go-hdb specific connection functions.
DBError represents a single error returned by the database server.
Driver enhances a connection with go-hdb specific connection functions.
Error represents errors (an error collection) send by the database server.
ParameterType extends ColumnType with stored procedure metadata.
StmtMetadata provides access to the parameter and result metadata of a prepared statement.
Tagger is an interface used to tag structure fields dynamically.
# Type aliases
A Decimal is the driver representation of a database decimal field value as big.Rat.
Identifier in hdb SQL statements like schema or table name.
SessionVariables maps session variables to their values.