Christoph Blank
2014-12-10 12:53:17 UTC
Hi there,
I have a Property object that has a lot of Items as children, however, the
method property.items builds a list
of all subitems based on calculations. Since this is an expensive and
recursive operation in my example, I have to cache these IDs
and update them with a hook.
What is the best way to store an array of IDs (Strings) in Datamapper (I
only have mysql) which could eventually also
be used in a query? (included_in <list>)?
Thanks,
Christoph
I have a Property object that has a lot of Items as children, however, the
method property.items builds a list
of all subitems based on calculations. Since this is an expensive and
recursive operation in my example, I have to cache these IDs
and update them with a hook.
What is the best way to store an array of IDs (Strings) in Datamapper (I
only have mysql) which could eventually also
be used in a query? (included_in <list>)?
Thanks,
Christoph
--
You received this message because you are subscribed to the Google Groups "DataMapper" group.
To unsubscribe from this group and stop receiving emails from it, send an email to datamapper+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at http://groups.google.com/group/datamapper.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "DataMapper" group.
To unsubscribe from this group and stop receiving emails from it, send an email to datamapper+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at http://groups.google.com/group/datamapper.
For more options, visit https://groups.google.com/d/optout.