WRDEntity2017::UpdateEntity (open)

Update this entity


LOADLIB "mod::wrd/lib/internal/wrdentity.whlib";

MACRO UpdateEntity(RECORD entitydata, RECORD options)


RECORD entitydata

A record containing the fields to update

RECORD options


INTEGER changeset

If set, add this update to the specific changeset

STRING decodeinvalidutf8as

Character set to use for decoding invalid UTF-8 characters

MACRO PTR errorcallback

Macro called when an error is detected

BOOLEAN importmode

If TRUE, skip various checks

FUNCTION PTR onmapdomvalue

Function used to determine entity id of domain values when a string is passed.

OBJECT whfsmapper

WHFS mapper to unmap references to WHFS