Commit graph

8 commits

Author SHA1 Message Date
mahlon
6197b8ab3f First round of USAGE docs.
Also, have the Result iterator auto-rewind when complete.

FossilOrigin-Name: d10c2e7dd8dd447cc33f1cfb6fbbd94946f56e8da912e1619673338d9c8a968d
2025-03-31 19:35:15 +00:00
mahlon
6f6ab2f85a Add first round of kuzu -> nim type conversions.
FossilOrigin-Name: 7435f8dcdff8f0a22eb1a07b4e19f379dd731e6557eeefb5dbf75f5b32cb82ed
2025-03-30 10:03:39 +00:00
mahlon
db85c36d70 Multiple changes.
- Minor README updates.
- Create LICENSE and History files.
- Use 'func' instead of 'proc' where applicable.
- Add some destructor debug.
- Rename primary exceptions to 'X-error'.
- Bind to proper object types in prepared statement parameters.
- Retain the found 'type' in the KuzuValue object.

FossilOrigin-Name: db59c0b901b1715170e0d269fc2bf00477ac48af4d10a747eb5a749adbf6268e
2025-03-29 23:17:10 +00:00
mahlon
421cb87e57 Checkpoint.
- Add column names and types to KuzuQuery objects.
- Start sketching out type conversions.
- Add a "kind" method to KuzuValue, that returns its Kuzu type. (type is a
  reserved word)
- Fix some tests for post v0.8.2 behaviors.

FossilOrigin-Name: 64c0694e58507ce91f2e0eced106c9fef2a739665ddaa29f60b4ca9fe65678fe
2025-03-27 08:09:17 +00:00
mahlon
ac222369f0 Fix some whitespace, add note for failing test.
FossilOrigin-Name: 082dff9df32ccebaf9a2fa51d9cedf736af42c60cfb243a228bad545e024c90d
2025-03-24 02:18:24 +00:00
mahlon
6d34b081bb Work on prepared statements.
(Still not working 100%, but getting close.)

Additionally, start on the README, fix some type member visibility, add some
additional tests, tag some FIXMEs for where type conversions will take
place, and add `#rewind` for the query iterator.

FossilOrigin-Name: 490f27a4792d5243d82d90dcb12be1074c945c74d7fa63dd5baaf942ac42d7c9
2025-03-23 21:21:05 +00:00
mahlon
7850a79372 Add basic tuple and value fetching from queries.
Add safeties for =destroy hooks.

FossilOrigin-Name: 2fae5297a0d0598cc3580777688b4f4307de008d4f379d2fb224c8a74cb9b708
2025-03-22 22:28:22 +00:00
mahlon
1ed442a68a Start adding tests, using testament.
FossilOrigin-Name: 6f368f0d303c65000c74f346b7bc39ffca964aff7767c60be2384739e5dc4d72
2025-03-18 02:21:06 +00:00