hdbconnect_async
An asynchronous pure rust SQL driver for SAP HANA(TM).
Usage
Add hdbconnect_async to the dependencies section in your project's Cargo.toml:
[]
= "0.28"
Assuming you have
- a HANA accessible at port
39013on hosthxehost, - and you can log on to it as user
HORSTwith passwordSeCrEt,
then a first simple test which sets up some table, inserts data and reads them back might look like this:
use ;
pub async
Documentation
See https://docs.rs/hdbconnect_async/ for the full functionality of hdbconnect_async.
There you find also more code examples, especially in the description of module code_examples.
TLS
See HANA in SCP for instructions how to obtain the necessary server certificate from a HANA in SAP Cloud Platform.
Features
rocket_pool
Adds an implementation of a rocket_db_pools database pool.
dist_tx
Adds support for distributed transactions, based on dist_tx.
Versions
See the change log.