Available
amalgame-oracle
Oracle Database via Instant Client (OCI), session pooling.
Overview
Dynamic-link binding to the Oracle Instant Client (OCI). Since the Oracle wire protocol is proprietary, the package links to Oracle's official library (libclntsh) — separate download, Oracle license terms. Targets Oracle Database ≥ 12c and Autonomous Database.
Features
- ✓Binding to
libclntsh(Oracle Instant Client ≥ 19c) - ✓Native OCI session pooling for high-traffic apps
- ✓Prepared statements,
RETURNING, PL/SQL blocks - ✓TLS via the Oracle chain (wallets supported)
- ✓Dynamic-link pattern — no vendored fork to maintain
Example
Minimal usage example — copy-paste runnable after install.
amc package add oracle
let db = Oracle.Connect("user/pwd@//host:1521/SERVICE")
let rows = db.Query("SELECT id, total FROM orders WHERE customer_id = :1", [42])
for row in rows {
Console.WriteLine(row.GetInt("id"))
}
At a glance
- License: Apache-2.0
- Install:
amc package add oracle - Source: amalgame-lang/amalgame-database-oracle
- Official index: amalgame-lang/packages-index