Difference between revisions of "Relation Types"

From truxwiki.com
Jump to navigation Jump to search
Line 2: Line 2:
 
This table defines what types of relationships you can make.
 
This table defines what types of relationships you can make.
  
This information is also kept in the <code>RelationType</code> database table.
+
This information is also kept in the <code>[RelationType]</code> database table.
  
 
{| class="wikitable"
 
{| class="wikitable"

Revision as of 11:34, 3 December 2020

Truxton allows you to relate things based on their GUID. This table defines what types of relationships you can make.

This information is also kept in the [RelationType] database table.

Name Value Meaning
RELATION_TYPE_UNKNOWN 0 The type of relation is not known. It is probably a bug.
RELATION_TYPE_CONTAINS 1 A contains B.
RELATION_MESSAGE_ADDRESS 2 A is an Email of B.
RELATION_HOME_PHONE 3 A is a home phone number of B.
RELATION_WORK_PHONE 4 A is a work phone number of B.
RELATION_MOBILE_PHONE 5 A is a mobile phone number of B.
RELATION_OTHER_PHONE 6 A is some other phone number of B.
RELATION_ALIAS 7 A is an alias for B.
RELATION_PRIMARY_PHOTO 8 A is the primary photograph of B.
RELATION_SEEN_IN_PHOTO 9 A was seen in photo B.
RELATION_COMBINED_ID 10 A is the combined address of B.
RELATION_PASSWORD 11 A is a password of B.
RELATION_GPS_ROUTE 12 A is the start of a route to B.
RELATION_RELATED 13 A is generically related to B.
RELATION_CALLED 14 A called B.
RELATION_LOGON_ACCOUNT 15 A is a logon account of B.
RELATION_CONNECTED 16 A connected to B.