Disponible
amalgame-oracle
Oracle Database via Instant Client (OCI), session pooling.
Vue d'ensemble
Binding dynamic-link au client Oracle Instant Client (OCI). Le wire protocol Oracle étant propriétaire, le package se lie à la lib officielle d'Oracle (libclntsh) — téléchargement séparé, conditions de licence Oracle. Cible Oracle Database ≥ 12c et Autonomous Database.
Caractéristiques
- ✓Binding à
libclntsh(Oracle Instant Client ≥ 19c) - ✓Session pooling natif OCI pour les apps haut-trafic
- ✓Prepared statements,
RETURNING, blocs PL/SQL - ✓TLS via la chaîne Oracle (wallets supportés)
- ✓Pattern dynamic-link — pas de fork vendored à maintenir
Exemple
Exemple minimal d'utilisation — recopiable tel quel après l'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"))
}
En bref
- Licence : Apache-2.0
- Installation :
amc package add oracle - Code source : amalgame-lang/amalgame-database-oracle
- Index officiel : amalgame-lang/packages-index