G2Engine Flags

Flags

Flags are optional parameters that specify what data about an entities, records, features, or relationships to retrieve. Each method’s relevant flags are detailed in G2Engine flags. If no flag parameter is given then the default flag value for the method is used.

This example calls getEntityByRecordID() with the G2_ENTITY_INCLUDE_ENTITY_NAME flag:

Click to expand `getEntityByRecordID()` with the `G2_ENTITY_INCLUDE_ENTITY_NAME` flag example