hdbconnect
A pure rust SQL driver for SAP HANA(TM).
Usage
Add hdbconnect to the dependencies section in your project's Cargo.toml:
[]
= "0.15"
Assume you have a HANA (e.g. a HANA Express) accessible at port 30333 on host hxehost,
and you can log on to it as user HORST with password SECRET.
Then a first simple test might look like this:
use ;
Documentation
See https://docs.rs/hdbconnect/ for the full functionality of hdbconnect.
There you also find more code examples, e.g. in the description of module code_examples.
Crate Features
tls
The tls feature adds the capability to use TLS in the communication to HANA, and adds dependencies to rustls and webpki.
See ConnectParams for how to use hdbconnect with tls.
See HANA in SCP for instructions how to obtain the necessary server certificate from a HANA in SAP Cloud Platform.
Versions
See the change log.