-
-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fully implement datafy #292
Comments
datafy appears to be implemented already on pulled entities. See |
We will keep existing behavior and correct the doc string instead. |
@huahaiy I don't think Datafy is implemented or at least I am unable to (type (clojure.datafy/datafy (d/touch (d/entity (d/db (d/get-conn db-path schema)) 1))))
=> datalevin.entity.Entity |
What are these tests then? https://github.com/juji-io/datalevin/blob/master/test/datalevin/test/datafy.clj PR welcome. |
Seems like nav is implemented, but not datafy. |
PR welcome! |
It is on entity but it seems the impl: datalevin/src/datalevin/datafy.clj Line 2 in 397ba2c
missing require: https://github.com/search?q=repo%3Ajuji-io%2Fdatalevin%20datalevin.datafy&type=code |
Would requiring this ns in |
Yes I think that's all that's needed
…On Wed, Dec 18, 2024 at 9:25 PM Huahai Yang ***@***.***> wrote:
Would requiring this ns in datalevin.core help?
—
Reply to this email directly, view it on GitHub
<#292 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABDPWIVQCH7INVGDKR4GTHT2GIVBBAVCNFSM6AAAAABRHLKPLSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNJSGY2DAMRXGA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Done. |
thank you!
…On Fri, Dec 20, 2024 at 9:21 AM Huahai Yang ***@***.***> wrote:
Done.
—
Reply to this email directly, view it on GitHub
<#292 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABDPWIW3D3S4EOEQ4EKI2U32GQRV3AVCNFSM6AAAAABRHLKPLSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNJXGEYDONZWGI>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
In the docstring of datalevin.core/entity it says:
If entity does not exist,
nil
is returned:however, if I try to call e.g. (d/entity conn 999999999999999999) I just get back
{:db/id 999999999999999999}
The text was updated successfully, but these errors were encountered: