Crate hdbconnect
source ·Expand description
Native rust database driver for SAP HANA(TM).
hdbconnect
uses serde_db
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.
Disclaimer
This driver is functionally operable and working well and fast. However, its implementation still lacks some features: some date/time/timestamp datatypes are missing, SSL is not yet supported.
Modules
Structs
ConnectParams
.ManageConnection
interface.ResultSet
.Enums
Traits
ConnectParams
.Type Definitions
Result<T, HdbError>
.