openQuery
Run SQL against the database's live index, with visibility into writes made earlier in this transaction.
Positional ? parameters are supplied through args as a single-row xtdb.arrow.RelationReader, matched to the query's ? placeholders by ordinal position. The columns must be supplied unnamed or named $1..$N in order (see withPositionalParamNames); mis-ordered names are rejected rather than silently rebound. Defaults for opts are derived from the tx's system-time and the database's default timezone.
Reads are scoped to this transaction's own database — narrower than the same SQL run from a connection, which resolves a two-part name against every attached database. A table in another database is not reachable from here, and referring to one reports that the table was not found.