Something went wrong. Try again.
@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132@title Using Edges@group developerGuide to the Edges infrastructure.= Overview =Edges are a generic way of storing a relationship between two objects (likea Task and its attached files). If you are familiar with the Facebookassociations framework, Phabricator Edges are substantially similar.An edge is defined by a source PHID (the edge origin), a destination PHID(the edge destination) and an edge type (which describes the relationship,like "is subscribed to" or "has attached file").Every edge is directional, and stored alongside the source object. Some edgesare configured to automatically write an inverse edge, effectively buildinga bidirectional relationship. The strength of storing relationships like thisis that they work when databases are partitioned or sharded.= Reading Edges =You can load edges with @{class:PhabricatorEdgeQuery}.= Writing Edges =You can edit edges with @{class:PhabricatorEdgeEditor}.= Edges and Lisk =@{class:PhabricatorLiskDAO} includes some builtin support for edges.