Skip to content

Tilda JSON Syntax: Conventions

Laurent Hasson edited this page Oct 2, 2022 · 2 revisions

<-- Main Schema Syntax

Conventions

Tilda defines a variety of conventions spanning names of automated columns such as primary keys or OCCs. There are also conventions used in naming columns that are generally encouraged but not enforced. With this schema-level definition, you can override or extend conventions and enforce them across a schema.

 ,"conventions":{
     "sameAs":"org.abc.codesmaster.data.CodesMaster"
    ,"primaryKeyName":"refnum"
    ,"foreignKeyNamePostfix":""
    ,"columnNamingConvention": NONE | CAMEL_CASE_JS | UNDERSCORE_LOWER_DB
    ,"defaultMode": NORMAL | DB_ONLY | CODE_ONLY | NONE
    ,"defaultLC": NORMAL | READONLY | WORM
   }
Clone this wiki locally