newdevs:db:fm
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
newdevs:db:fm [2023/05/22 10:13] – [permacrud] tlittle | newdevs:db:fm [2024/02/22 11:25] (current) – [oils_persist:virtual] tmccanna | ||
---|---|---|---|
Line 2: | Line 2: | ||
====== The Fieldmapper ====== | ====== The Fieldmapper ====== | ||
- | The fieldmapper (fm_IDL.xml) maps the fields! It defines objects’ fields, linked fields from other objects, and permissions needed to access various things. Most of the Evergreen code (including the reports engine) accesses the database content via the fieldmapper rather than accessing the database directly. | + | The fieldmapper ('' |
* [[https:// | * [[https:// | ||
Line 13: | Line 13: | ||
* < | * < | ||
+ | |||
+ | Outline of fieldmapper classes: | ||
+ | |||
+ | * [[evergreen-user: | ||
Line 23: | Line 27: | ||
===== Parts of the Fieldmapper ===== | ===== Parts of the Fieldmapper ===== | ||
- | ==== Class header ==== | + | ==== class header ==== |
=== class === | === class === | ||
Line 42: | Line 46: | ||
=== oils_persist: | === oils_persist: | ||
+ | This essentially means that the class or field is not " | ||
+ | < | ||
+ | | ||
+ | |||
+ | It can also be used to indicate such things as a view that is defined by SQL in the IDL rather than in the database. | ||
=== oils_persist: | === oils_persist: | ||
Line 67: | Line 76: | ||
=== reltype === | === reltype === | ||
+ | These distinctions are to indicate key directionality. They are not to indicate nullability. | ||
+ | |||
+ | * has_a | ||
+ | * has_many | ||
+ | * might_have | ||
=== key === | === key === | ||
Line 91: | Line 105: | ||
* **delete** - Must correspond to a permission | * **delete** - Must correspond to a permission | ||
- | If using the create/ | + | If using the create/ |
== context_field == | == context_field == |
newdevs/db/fm.1684764812.txt.gz · Last modified: 2023/05/22 10:13 by tlittle