Open mehcode opened 4 years ago
As one of the objectives of SQLx
is Pure Rust
source code, writing a driver for connecting to Oracle may be harder without breaking this rule because of there is a need for using Oracle Instant Client
libraries.
Although ODPI-C is an open source, this C library just simplifies the use by wrapping Oracle Call Interface (OCI).
OCI requires a local install/deploy of Oracle Instant Client. I don't know if a open source or reverse engineered exists or may be legal in some countries.
For example cx_Oracle python driver docs contains instructions for installing Oracle Instant Client.
Also the rust crates Rust-oracle, Sibyl, oci_rs tell to setup Oracle Instant Client as requirement.
Because of this, maybe it would be better first develop support for ODBC because:
Type-safe SQL
could be evaluated do a subset of ANSI SQL that is safely supported by most of databases.What's is current plan? Support most of database through ODBC firstly? Thanks.
Oracle support is still coming but will be provided through our planned paid premium support offering (open-source projects and non-profit organizations will be able to apply for a free license). See https://github.com/launchbadge/sqlx/discussions/909 for details.
https://oracle.github.io/odpi/