Commit graph

17 commits

Author SHA1 Message Date
76718fa49f
Rename the project to nim-ladybug, after kuzu's sudden October abandoning. Picked up by a new party under the new name, lets see where this goes!
No new functionality, just rename and docs updates.
2025-11-04 18:04:57 -08:00
72da9341fd
Perform magic checks on a database file for better error messaging. 2025-07-19 13:28:23 -07:00
6881d15358
Automatically fetch any additional result sets from a query.
Move the iterator to an internal seq.
2025-07-18 19:52:55 -07:00
c8da56faa8
Fixup docs, bump version. 2025-07-17 16:46:33 -07:00
26e3018160
Support chaining multiple result sets. 2025-07-17 16:02:07 -07:00
4f441cdbe4
Update wrapper to Kuzu v0.11.0. 2025-07-13 13:50:53 -07:00
b0cdb4cfa2 Use a template for type conversion checks.
FossilOrigin-Name: 2ea0a91c86c6e756460ba4c2345b9f56de03ff6ddd2c5a111a0b51a7d3739786
2025-04-26 21:12:45 +00:00
e532c50e99 Add tests and docs for toBlob. Bump version.
FossilOrigin-Name: d7358c9d8961f2b70f83ca4e19d4c43408e59cc169f072a238745060edb09de9
2025-04-19 17:45:53 +00:00
mahlon
5847c8dbf0 Don't lock versions into compiled constants, underpinning shared lib could be
updated and we'd never know.

FossilOrigin-Name: bb2f3334eee618c651acc8cd9859554f97ac29589145b17ac5d41b0f8bbada70
2025-03-31 23:15:45 +00:00
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