Menu

Adding calculated field to existing class

Aly
2014-09-11
2014-09-11
  • Aly

    Aly - 2014-09-11

    Hi,
    need to add calculated field (not saved to the database) to an existing class.
    any ideas?

     
  • Marco Lima

    Marco Lima - 2014-09-11

    I'm not sure if OQL supports mathematical operations (I'm leaning more towards NO).

    You might be able to do something on the PHP side of things.

    I've never tried setting the value for non-key field so I'm actually curious to see if this can be done.

    I'll give it a go and post back here if I make any headway.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.