Skip to content

Usage of getters and setters for virtual and calculates attributes #383

Answered by tywalch
zirkelc asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @zirkelc

Ultimately watch is more to help with some basic/common denormalization patterns, and less to perform object transformation. For those types of transformations, which I think this is one of those, it's ultimately left to the user to create the end-state objects they need. ElectroDB acts maybe less like an ORM and more like query builder in this regard.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@zirkelc
Comment options

@tywalch
Comment options

Answer selected by zirkelc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants