package
0.0.0-20230911064405-b779cef8f299
Repository: https://github.com/sap/go-dblib.git
Documentation: pkg.go.dev
# Functions
IsDone returns true if the package terminates the stream.
IsError returns true if the package signals an error - either in the communication or in the protocol.
LookupFieldData returns the FieldData for a given field format.
LookupFieldFmt returns the FieldFmt for a given data type and sets required values in it.
LookupFieldFmtData returns both a FieldFmt and a FieldData for a given data type.
LookupPackage returns the Package struct for a token.
NewCapabilityPackage returns a prepared CapabilityPackage.
Dial returns a prepared and dialed Conn.
NewCurDeclarePackage takes all required values and returns a CurDeclarePackage with the required values and sensible defaults.
NewDynamicPackage returns a dynamic package.
NewLoginConfig creates a new login-configuration by using dsn information and setting default configuration-values in regard to the ASE database server (Should be be adjusted by clients).
NewMsgPackage returns a TDS-message with status and id.
NewPacket creates a packet-struct.
NewPacketHeader returns an initialized PacketHeader.
NewPacketQueue returns an initialized PacketQueue.
NewParamFmtPackage returns a new ParamFmtPackage.
NewParamsPackage returns an initialized ParamsPkg.
NewTokenLessPackage returns an initialized TokenlessPackage.
NewVersion creates a Version-struct.
NewVersionString parses the passed string into a version-struct.
No description provided by the author
# Constants
No description provided by the author
Types of capabilities.
Types of capabilities.
Types of capabilities.
No description provided by the author
No description provided by the author
Size of a packet header.
Types of TDS-tokens.
Types of TDS-tokens.
Types of TDS-tokens.
Types of TDS-tokens.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Types of request capabilities.
Types of request capabilities.
Types of request capabilities.
Types of response capabilities.
Types of response capabilities.
Types of response capabilities.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Attention request.
Acknowledgment of last receiver attention.
Buffer is encrypted (SQL Anywhere CMDSQ protocol).
Last buffer in a request or response.
Event notification.
Buffer is encrypted.
Buffer is encrypted with symmetric key for on demand command encryption.
Types of request capabilities.
Types of TDS-tokens.
Types of TDS-tokens.
Types of TDS-tokens.
Types of TDS-tokens.
Types of TDS-tokens.
Types of request capabilities.
Types of request capabilities.
Types of response capabilities.
Types of response capabilities.
Types of request capabilities.
Types of TDS-tokens.
Types of request capabilities.
Types of request capabilities.
Types of request capabilities.
Types of request capabilities.
Types of request capabilities.
Types of request capabilities.
Types of request capabilities.
Types of request capabilities.
Types of request capabilities.
Types of request capabilities.
Types of request capabilities.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Types of request capabilities.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Types of TDS-tokens.
Types of TDS-tokens.
Types of TDS-tokens.
Types of TDS-tokens.
Types of TDS-tokens.
Types of TDS-tokens.
Types of TDS-tokens.
Types of TDS-tokens.
Types of TDS-tokens.
Types of TDS-tokens.
Types of TDS-tokens.
Types of request capabilities.
Types of request capabilities.
Types of request capabilities.
Types of request capabilities.
Types of request capabilities.
Types of request capabilities.
Types of request capabilities.
Types of request capabilities.
Types of request capabilities.
Types of request capabilities.
Types of request capabilities.
Types of request capabilities.
Types of request capabilities.
Types of request capabilities.
Types of request capabilities.
Types of request capabilities.
Types of request capabilities.
Types of request capabilities.
Types of request capabilities.
Types of request capabilities.
Types of request capabilities.
Types of request capabilities.
Types of request capabilities.
Types of request capabilities.
Types of request capabilities.
Types of request capabilities.
Types of request capabilities.
Types of request capabilities.
Types of request capabilities.
Types of response capabilities.
Types of response capabilities.
Types of response capabilities.
Types of response capabilities.
Types of response capabilities.
Types of response capabilities.
Types of response capabilities.
Types of response capabilities.
Types of response capabilities.
Types of response capabilities.
Types of response capabilities.
Types of response capabilities.
Types of response capabilities.
Types of response capabilities.
Types of response capabilities.
Types of response capabilities.
Types of response capabilities.
Types of response capabilities.
Types of response capabilities.
Types of response capabilities.
Types of response capabilities.
Types of response capabilities.
Types of response capabilities.
Types of response capabilities.
Types of response capabilities.
Types of response capabilities.
Types of response capabilities.
No description provided by the author
Types of response capabilities.
Types of response capabilities.
Types of response capabilities.
Types of response capabilities.
Types of response capabilities.
Types of response capabilities.
Types of response capabilities.
Types of response capabilities.
Types of response capabilities.
Types of response capabilities.
Types of response capabilities.
Types of response capabilities.
Types of response capabilities.
Types of response capabilities.
No description provided by the author
Types of request capabilities.
No description provided by the author
Types of request capabilities.
Types of request capabilities.
Types of request capabilities.
Types of request capabilities.
Types of request capabilities.
Types of request capabilities.
Types of request capabilities.
Types of request capabilities.
Types of request capabilities.
Types of request capabilities.
Types of request capabilities.
Types of request capabilities.
Types of request capabilities.
Types of request capabilities.
No description provided by the author
Types of TDS-tokens.
Types of TDS-tokens.
Types of TDS-tokens.
Types of request capabilities.
Types of TDS-tokens.
States of a done-package.
States of a done-package.
States of a done-package.
States of a done-package.
States of a done-package.
States of a done-package.
States of a done-package.
States of a done-package.
States of a done-package.
Types of TDS-tokens.
Types of TDS-tokens.
These constants define the maximum length for various options in a login payload.
Types of a dynamic-operation-package.
Types of a dynamic-operation-package.
Types of a dynamic-operation-package.
Types of a dynamic-operation-package.
Types of a dynamic-operation-package.
Types of a dynamic-operation-package.
Types of a dynamic-operation-package.
Types of a dynamic-operation-package.
Types of a dynamic-operation-package.
Types of TDS-tokens.
Types of a dynamic-status-package.
Types of a dynamic-status-package.
Types of a dynamic-status-package.
Types of a dynamic-status-package.
Types of a dynamic-status-package.
Types of TDS-tokens.
Types of TDS-tokens.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Types of TDS-tokens.
Types of TDS-tokens.
Types of TDS-tokens.
These constants define the maximum length for various options in a login payload.
Types of request capabilities.
Types of response capabilities.
Types of TDS-tokens.
Types of TDS-tokens.
No description provided by the author
Types of TDS-tokens.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Types of TDS-tokens.
Types of TDS-tokens.
These constants define the maximum length for various options in a login payload.
Types of TDS-tokens.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Types of request capabilities.
These constants define the maximum length for various options in a login payload.
Types of response capabilities.
No description provided by the author
Types of response capabilities.
Types of response capabilities.
Types of response capabilities.
States of a trans-package.
Types of response capabilities.
Types of request capabilities.
Types of request capabilities.
Types of request capabilities.
Types of response capabilities.
Types of response capabilities.
Types of response capabilities.
Types of TDS-tokens.
These constants define the maximum length for various options in a login payload.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Types of TDS-tokens.
Types of TDS-tokens.
Types of TDS-tokens.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Types of TDS-tokens.
Types of TDS-tokens.
Types of TDS-tokens.
These constants define the maximum length for various options in a login payload.
Types of TDS-tokens.
These constants define the maximum length for various options in a login payload.
Types of request capabilities.
Types of request capabilities.
Types of request capabilities.
Types of response capabilities.
Types of response capabilities.
Types of request capabilities.
Types of request capabilities.
Types of request capabilities.
Types of request capabilities.
Types of request capabilities.
Types of request capabilities.
Types of request capabilities.
Types of request capabilities.
Types of request capabilities.
Types of request capabilities.
Types of request capabilities.
Types of request capabilities.
Types of request capabilities.
Types of request capabilities.
Types of request capabilities.
Types of request capabilities.
No description provided by the author
Types of request capabilities.
Types of request capabilities.
Types of request capabilities.
Types of request capabilities.
Types of request capabilities.
Types of request capabilities.
Types of request capabilities.
Types of request capabilities.
Types of request capabilities.
Types of request capabilities.
Types of request capabilities.
Types of request capabilities.
Types of request capabilities.
Types of request capabilities.
Types of request capabilities.
Types of response capabilities.
Types of response capabilities.
Types of response capabilities.
Types of response capabilities.
Types of response capabilities.
Types of response capabilities.
Types of response capabilities.
Types of response capabilities.
Types of response capabilities.
Types of response capabilities.
Types of response capabilities.
Types of response capabilities.
Types of response capabilities.
Types of response capabilities.
Types of TDS-tokens.
Types of TDS-tokens.
Types of TDS-tokens.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Types of TDS-tokens.
Types of TDS-tokens.
Types of TDS-tokens.
Types of request capabilities.
Types of response capabilities.
These constants define the maximum length for various options in a login payload.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
These constants define the maximum length for various options in a login payload.
Types of TDS-tokens.
States of a trans-package.
States of a trans-package.
States of a trans-package.
States of a trans-package.
Types of request capabilities.
Types of response capabilities.
These constants define the maximum length for various options in a login payload.
Types of request capabilities.
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
ErrNotEnoughBytes is returned by packages' ReadFrom if the BytesChannel does not have enough bytes to parse the package fully.
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
CapabilityPackage is used to communicate capabilities between clients and servers.
Channel is a channel in a multiplexed connection with a TDS server.
No description provided by the author
No description provided by the author
Conn handles a TDS-based connection.
No description provided by the author
CurClosePackage is used to close a cursor.
CurDeclarePackage is used to declare cursors.
CurDeletePackage is used to deallocate a cursor.
CurFetchPackage is used to fetch more rows from a cursor.
CurInfoPackage is used to send and receive information about a cursor.
CurOpenPackage is used to open a declared cursor.
CurUpdatePackage is used to update a cursor.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
DonePackage is used to finalize a package stream.
DynamicPackage is used to allocate and deallocate as well as request information on a dynamic SQL statement.
EEDError contains the extended error data packages and the wrapped error.
EEDPackage is used to communicate information and error messages.
EnvChangePackage is used to communicate multiple environment changes.
EnvChangePackageField is a single environment change.
ErrorPackage is a deprecated package used to communicate errors.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
HeaderOnlyPackage is used to communicate header-only packets using the same communication channels as regular token-based packages in go-ase.
No description provided by the author
No description provided by the author
Info is a github.com/SAP/go-dblib/dsn compatible struct with required information for the TDS driver.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
KeyPackage is used to communicate the row position of a cursor.
LanguagePackage is used to execute an SQL statement without arguments.
LoginAckPackage communicates the state of the login negotiation.
LoginConfig contains configuration to login to the server.
LoginConfigRemoteServer contains the name and the password to the server.
LogoutPackage is used to terminate and deallocate a connection.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
MsgPackage is used to communicate miscellaneous information that does not warrant its own package.
No description provided by the author
No description provided by the author
OptionCmdPackage is used to set or reset an option.
OrderBy2Package is a superset of OrderByPackage and supports more than 255 columns.
OrderByPackage communicates in which order columns should be used.
Packet represents a single packet in a message.
PacketHeader is the header of a Packet.
PacketQueue is loosely modeled after bytes.Buffer.
ParamFmtPackage communicates the order and types of arguments/parameters of statements or responses.
ParamsPackage is used to communicate a parameters or arguments.
ReturnStatusPackage communicates the return status of stored procedures.
RowFmtPackage communicates the data types of rows.
RowPackage is used to communicate a row.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
TokenlessPackage are used to transmit blobs of data.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Version contains library-versions.
No description provided by the author
No description provided by the author
# Interfaces
BytesChannel defines the required methods for Packages to read and write information to a stream.
FieldData defines the interface for datatype data.
FieldFmt defines the interface for datatype formats.
LastPkgAcceptor is the interface providing the LastPkg method.
Package is the interface providing the ReadFrom and WriteTo methods.
# Type aliases
BlobSerializationType defines the seralization type of a data blob.
BlobType defines the type of a data blob.
CapabilityType is the type of capabilities.
CursorCloseOption is the type of values for CurClose packages.
CursorCommand is the type used to send commands on cursors.
CursorDeleteStatus is the type for a currently unused bitmask.
CursorDStatus is the type to indicate the status of a cursor when declaring it.
CursorFetchType is the type to indicate in which direction to fetch cursor results.
CursorIStatus is the type for a bitmask indicating the status of a cursor.
CursorOption is a bitmask to indicate options for a cursor.
CursorOStatus is the type for a value indicating the status of a cursor when opening it.
DataStatus defines the valid states of data in fields.
No description provided by the author
No description provided by the author
DoneState is the type for bitmask values of a done-package state.
DynamicOperationType is a bitmask to indicate the options of a dynamic SQL statement.
DynamicStatusType is a bitmask indicating the status of a dynamic SQL statement.
EEDHook defines the signature of functions called by a Conn when the server sends an EEDPackage.
EEDStatus is used to indicate the status of an EED package.
EnvChangeHook defines the signature of functions called by a Conn when the server sends a TDS_ENV_CHANGE package.
EnvChangeType signals which part of the environment was updated.
LanguageStatus is a bitmask for options on a language package.
LoginAckstatus indicates the state of the login negotiation.
OptionCmd defines the type of argument for an OptionCmdPackage.
OptionCmdOption defines which option is being configured.
PacketHeaderStatus defines the state of a packet.
PacketHeaderType defines the type of a packet.
ParamFmtStatus is the type for bitmask values of a ParamFmt status.
RequestCapability is the type for request capabilities.
ResponseCapability is the type for response capabilities.
RowFmtStatus is the type for bitmask values of a RowFmt status.
SecurityCapability is the type for security capabilities.
TDSMsgId is the type of a message package.
TDSMsgStatus defines wether a message package has arguments or not.
TDSOpaqueSecurityToken is the type of a security token.
Token is the type for bitmask values of a TDS-token.
TransState is the type for bitmask values of a trans-package state.