I know that when loading in from the DB I can use a "+select..." to add in
additional column(s).

I can then check to see if the column(s) were loaded by "+select" using
"has_column_loaded"

If a transient "column" is fetched the first time another way and not the
"+select"; I'd like to do "store_column" to cache the value so that the
next time has_column_loaded would be true and it would act as a cache.

Since this is a transient column that is not in the database I assume I
should not use "set_column" since the column and the object would be
considered dirty and a subsequent update could be impacted.

Does this seem correct?

thanks in advance.
_______________________________________________
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
Searchable Archive: http://www.grokbase.com/group/dbix-class@lists.scsys.co.uk

Reply via email to