Getter Function cannot use with underscore in the field


My database field is c_createDate

Here is my getter function

getC_createDate(date) {
    return 'test'

the getter function isn’t executed at all.
Is there any way to make it work?



Getters always start with the get keyword followed by the camel case version of the field name.

so in your case, you may try getCCreateDate(date){}

hope its help :grinning: