WRDSchema2017 (open)
WRD schema object
Syntax
LOADLIB "mod::wrd/lib/internal/wrdschema.whlib";
OBJECTTYPE WRDSchema2017Properties
- PROPERTY accountemailtag (inherited from WRDSchemaBase)Get the tag of the email attribute 
- PROPERTY accountlogintag (inherited from WRDSchemaBase)Get the tag of the login attribute 
- PROPERTY accountpasswordisauthsettings (inherited from WRDSchemaBase)Whether the password field is of authenticationsettings type 
- PROPERTY accountpasswordtag (inherited from WRDSchemaBase)Get the tag of the password attribute 
- PROPERTY accounttype (inherited from WRDSchemaBase)Get the type used for accounts 
- PROPERTY creationdate (inherited from WRDSchemaBase)Creation date, if known 
- PROPERTY description (inherited from WRDSchemaBase)Description of this schema 
- PROPERTY id (inherited from WRDSchemaBase)Id of this schema 
- PROPERTY protected (inherited from WRDSchemaBase)Whether this schema is protected against deleting and overwriting 
- PROPERTY tag (inherited from WRDSchemaBase)Tag of this schema 
- PROPERTY title (inherited from WRDSchemaBase)Title of this schema 
- PROPERTY usermgmt (inherited from WRDSchemaBase)Whether this schema is a source for usermgmt 
- PROPERTY ^ (inherited from WRDSchemaBase)dynamic hat property resolver, for types 
Functions
- MACRO ApplySchemaDefinition(RECORD options)Update this WRD schema's metadata 
- MACRO CopySchemaTo(STRING targetname) (inherited from WRDSchemaBase)Create a complete copy of a schema 
- INTEGER FUNCTION CreateChangeSet() (inherited from WRDSchemaBase)
- OBJECT FUNCTION CreateDomain(STRING tag, RECORD options) (inherited from WRDSchemaBase)Create a new domain type 
- OBJECT FUNCTION CreateType(STRING tag, RECORD options) (inherited from WRDSchemaBase)Create a new type 
- MACRO DeleteSelf() (inherited from WRDSchemaBase)Delete this schema 
- STRING ARRAY FUNCTION GetEventMasks() (inherited from WRDSchemaBase)
- RECORD FUNCTION GetMigrationStatus(STRING migrationtag) (inherited from WRDSchemaBase)Get the status of a recent migration script 
- VARIANT FUNCTION GetSchemaSetting(STRING keyname, RECORD options) (inherited from WRDSchemaBase)Read a WRD schema setting 
- STRING ARRAY FUNCTION GetSettingsEventMasks() (inherited from WRDSchemaBase)
- OBJECT FUNCTION GetType(STRING tag)Get the WRD type oobject for a type 
- OBJECT FUNCTION GetTypeById(INTEGER type_id) (inherited from WRDSchemaBase)
- RECORD ARRAY FUNCTION ListSchemaSettings() (inherited from WRDSchemaBase)Returns the list of schema settings 
- RECORD ARRAY FUNCTION ListTypes() (inherited from WRDSchemaBase)Returns list of all types 
- MACRO RemoveSchemaSetting(STRING keyname) (inherited from WRDSchemaBase)Removes a WRD schema setting 
- RECORD ARRAY FUNCTION RunQuery(RECORD querydata) (inherited from WRDSchemaBase)
- MACRO SetSchemaSetting(STRING keyname, VARIANT value) (inherited from WRDSchemaBase)Set a WRD schema setting 
- RECORD FUNCTION SetupEntities(RECORD ARRAY commands, RECORD options)Setup entities in the schema, 
- MACRO UpdateMetadata(RECORD newsettings) (inherited from WRDSchemaBase)