class

Rules::View::Mention

Inherits Rules::View::NotifiesNotifications < Rules::View < Reference < Object

The mention notification view.

There is one row per object that mentions the actor, appended at the object's arrival and never repositioned. The key is the mentioning object; the actor is matched on the mention tag's href (the canonical actor id).

An object that both replies to a post by the actor and mentions the actor yields only the reply notification, never also a mention.

Constants

MENTION = "Tag::Mention"

Constructors

instance
Source

Instance methods

membership(key : Key | Nil = nil) : Tuple(String, Array(DB::Any))

The membership query, plus its bind arguments.

The query selects rows of (from_iri, to_iri, position). A key of nil returns the full set (the batch reconcile); otherwise it returns the form scoped to a single member.

Source
project(object_iri : String) : Array(Key)

Maps a changed base fact to the collection key(s).

Source
type

The relationship subtype this view materializes.

Source