Does it support computed/calculated column or method #58
Replies: 4 comments 6 replies
-
|
Case one is clear to me, currently, it is not supported, but I'm adding it to a to-do list. For the second case, could you please elaborate? Code examples are welcome |
Beta Was this translation helpful? Give feedback.
-
|
Sorry, I found |
Beta Was this translation helpful? Give feedback.
-
|
Very nice ORM, I can't wait to try it in my next project. Another suggestion: maybe you can scope this project in an organization |
Beta Was this translation helpful? Give feedback.
-
|
Added issue for the case one: #59 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Case one:
I have a
firstnameandlastnamecolumn in table, I want to calculate afullnameproperty on the fly, how can I implement itCase two:
I have a
vipEndAtcolumn in the table to record the users vip end date, so I may want to have auser.getVipInfo()method on fly, which can calculate left dates, vip status and so on.I searched for the docs, and found that the
modelandrepositoryare focused on columns in database, there seems to miss a way to extend query reslutsBeta Was this translation helpful? Give feedback.
All reactions