Column annotation

Column identifies the database column that corresponds to the field.

EGL package name

eglx.persistence.sql

Example use

Annotation detail
Record Column type Annotation {
   targets=[FieldMbr]
   }
   name string;
   insertable boolean = true;
   updateable boolean = true;
   table string;
end
Annotation fields
name
Name of the database column. The default is the name of the field being annotated.
insertable
Specifies whether the value of the field being annotated is inserted into the database during an EGL add statement.
updateable
Specifies whether the value of the field being annotated is inserted into the database during an EGL replace statement.
table
The name of the database table in which the column resides.
Comments
Compatibility

Table 1. Compatibility
Target Issue
Java No issues.
JavaScript Database access is not supported.