Skip to content

Conversation

@bplatz
Copy link
Contributor

@bplatz bplatz commented Apr 24, 2024

Incorporates the new query-string t value syntax in fluree/db as per this PR:
fluree/db#761

The functionality is exposed through the /query API allowing query from and from-named keys to specify t values as per the following example:

  • my/db?t=42
  • my/db?t=2020-01-01T00:00:00Z

Adds a test

@bplatz bplatz requested a review from a team April 24, 2024 22:51
(is (= {"ledger" ledger-name, "t" 2}
(-> res :body json/read-value (select-keys ["ledger" "t"])))))))

(deftest ^:integration ^:json transaction-with-dbs-at-multiple-t-values
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this test could use more English commentary through more nested testing macros and/or using the third, msg argument of the is macro.

@zonotope
Copy link
Contributor

Are these changes still relevant in light of fluree/db#1088?

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.

3 participants