Database.addProperty

New in package 166

Syntax

Database.addProperty( entity, 'property', descriptor );

Adds an entity.property which follows the same $schema rules as entity.$fields.

Parameters

Parameter Description
property Name of the property to define.
descriptor Same as Object.defineProperty(..., descriptor) .
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.