Perform magic checks on a database file for better error messaging.

This commit is contained in:
Mahlon E. Smith 2025-07-18 20:23:20 -07:00
parent 6881d15358
commit 72da9341fd
Signed by: mahlon
SSH key fingerprint: SHA256:dP84sRGKZRpOOiPD/+GuOq+SHSxEw9qi5BWLQobaHm0
11 changed files with 75 additions and 9 deletions

View file

@ -358,8 +358,10 @@ Manually rewind the `KuzuQueryResult` via `rewind()`.
## Multiple Query Results
A query can potentially return any number of separate statements. Iterate over
linked `KuzuQueryResult` objects with the `sets()` iterator.
A query can potentially return any number of separate statements. In the case
of more potential `RETURN`s, the query will only contain the first. Iterate
over linked `KuzuQueryResult` objects with the `sets()` iterator to retreive the
remaining:
```nim
import kuzu