Does compiled queries support nullables and enums? #2714
Replies: 4 comments 1 reply
-
https://martendb.io/documents/identity.html - Marten looks for an id/Id/ID property of type int/string/guid etc (refer to the document). If you want to use a different id property then you could use |
Beta Was this translation helpful? Give feedback.
-
@mysticmind thanks for the answer. But I think you didn't understand me.
And I have a compiled query
CorrelationId property configured as document identity for DeliveryEntity. There is no problem with that. What kind of id it wants for enum? PS The query works fine if I remove the properties altogether from it. |
Beta Was this translation helpful? Give feedback.
-
Thank you very much.
пн, 11 сент. 2023 г., 19:35 Babu Annamalai ***@***.***>:
… Okay, heading to bed, will check with a fresh pair of eyes tomorrow and
revert to you.
—
Reply to this email directly, view it on GitHub
<#2714 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AD7NMH7WQHHH43AG67GAPZDXZ44UBANCNFSM6AAAAAA4TNFM44>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
@mysticmind |
Beta Was this translation helpful? Give feedback.
-
Hello folks!
My compiled query is defined like so:
When executing i'm getting exceptions:
Can I use these types in compiled queries?
Beta Was this translation helpful? Give feedback.
All reactions