Native rust database driver for SAP HANA(TM).
to simplify the data exchange between application code
and the driver, both for input parameters to prepared statements
and for results that are returned from the database.
There is no need to iterate over a resultset by rows and columns, just
assign query results directly to rust structures that fit the data
semantics. This approach allows, in contrast to many ORM mapping variants,
using the full flexibility of SQL (projection lists, all kinds of joins,
unions, etc, etc). Whatever query you need, you just use it, and whatever
result structure you need, you just use a corresponding rust structure into
which you deserialize the data.
See code examples for an overview.
Code examples for the usage of this database driver.
An immutable struct with all information necessary to open a new connection to a HANA database.
A builder for
A connection to the database.
Implementation of r2d2's
Represents all possible non-error responses to a database command.
Describes output parameters, as they can be returned by procedure calls.
Metadata for a parameter.
Allows injection-safe SQL execution and repeated calls of the same statement with different parameters with as few roundtrips as possible.
The result of a database query.
Metadata for the fields in a result set.
A single line of a
Describes an error that is reported from the database.
Describes the success of a command.
Represents all possible errors that can occur in hdbconnect.
An enum that describes a single database return value.
Enum for all supported database value types.
Describes whether a parameter is Nullable or not or if it has a default value.
Describes whether a parameter is used for input, output, or both.
Expresses where Server Certificates are read from.
Severity of a server message
ID of the value type of a database column or a parameter.
Default value for the number of resultset lines that are fetched with a single FETCH roundtrip; the constant's value is 100,000.
Number of bytes (for BLOBS and CLOBS) or 1-2-3-byte sequences (for NCLOBS) that are fetched in a single LOB READ roundtrip; the constant's value is 16,000,000.
Number of bytes that are written in a single LOB WRITE roundtrip; the constant's value is 16,000,000.
A trait implemented by types that can be converted into a