class

Rules::View::Follow

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

The follow notification view.

There is one row per follow activity that targets the actor, appended at the activity's arrival and never repositioned.

Constants

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