Package 'rho.duckdb'

Title: Rho DuckDB Backend
Description: Adapts DuckDB connections to Rho's asynchronous SQL contracts and provides a conservative read-only query guard for declared bioinformatics resources.
Authors: Sounkou Mahamane Toure [aut, cre]
Maintainer: Sounkou Mahamane Toure <[email protected]>
License: MIT + file LICENSE
Version: 0.0.1.9000
Built: 2026-07-15 18:49:38 UTC
Source: https://github.com/sounkou-bioinfo/Rho

Help Index


DuckDB implementation of the Rho SQL contract

Description

Connections are explicit RhoDuckDbConn values. Queries and statements return tasks through the generic SQL API declared in rho.bio. rho_check_readonly_sql() is intentionally conservative and is not a substitute for the parser-backed guard required before accepting untrusted SQL. It returns a typed RhoSqlAccepted or RhoSqlRejected value. Database failures resolve to RhoDuckDbErrorValue rather than aborting the task.