Skip to content

Conversation

@arepala-uml
Copy link
Contributor

  1. Added datum struct in modesl/datum.go.
  2. Implemented GetDatum and SetDatum methods in sqlite/datum.go.
  3. Added Datum in the MigrateModels to ensure DB migrations apply correctly for this table.
  4. Updated the MetadataStore interface with GetDatum, SetDatum methods.
  5. Added Top-level database methods GetDatumByHash and SetDatumByHash.

Closes #317

Signed-off-by: Akhil Repala <arepala@blinklabs.io>
@arepala-uml arepala-uml marked this pull request as ready for review May 5, 2025 03:00
@arepala-uml arepala-uml requested a review from a team as a code owner May 5, 2025 03:00
@arepala-uml arepala-uml requested review from agaffney and wolf31o2 May 5, 2025 03:00
Copy link
Member

@wolf31o2 wolf31o2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A couple minor changes to keep things more in line with the other functions.

… the things

Signed-off-by: Akhil Repala <arepala@blinklabs.io>
@arepala-uml arepala-uml requested review from agaffney and wolf31o2 May 10, 2025 18:52
… with gofumpt linter rules

Signed-off-by: Akhil Repala <arepala@blinklabs.io>
@wolf31o2 wolf31o2 merged commit 63a26f0 into main May 12, 2025
10 checks passed
@wolf31o2 wolf31o2 deleted the dataums_hash branch May 12, 2025 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support storing/retrieving Datums by hash

4 participants