Changes between Version 10 and Version 11 of DeveloperGuidelines/EdenMobile/Services/emDB


Ignore:
Timestamp:
11/23/17 22:54:08 (4 years ago)
Author:
Dominic König
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DeveloperGuidelines/EdenMobile/Services/emDB

    v10 v11  
    3636}}}
    3737
    38 While it is also possible to access a Field like {{{table.fields['fieldname']}}}, this would not map server-side super-IDs (e.g. {{{pe_id}}}) to the EdenMobile {{{em_object_id}}}. Therefore the {{{$}}} method is preferrable, especially in cases where the field name is a variable.
    39 
     38While it is also possible to access a Field like {{{table.fields['fieldname']}}}, this would not map server-side super-IDs (e.g. {{{pe_id}}}) to the EdenMobile {{{em_object_id}}} (but produce ''undefined'').
     39
     40Therefore the {{{$}}} method is preferrable, especially in cases where the field name is a variable.
     41
     42If no field with that name is defined, the function returns ''undefined'' (can safely be used to validate field names).
    4043=== Expressions ===
    4144