View Source Bonfire.Social.Graph.Import (Bonfire v0.9.10-classic-beta.169)
Summary
Functions
Import follows, ghosts, silences, or blocks from a CSV file.
Perform the queued job based on the operation and scope.
Perform an import operation for the scope.
Functions
Import follows, ghosts, silences, or blocks from a CSV file.
Examples
iex> import_from_csv_file(:follows, scope, "path/to/file.csv")
Perform the queued job based on the operation and scope.
Examples
iex> perform(%{args: %{"op" => "follows_import", "user_id" => "user1", "identifier" => "id1"}})
:ok
iex> perform(%{args: %{"op" => "blocks_import", "user_id" => "instance_wide", "identifier" => "id1"}})
:ok
Perform an import operation for the scope.
Examples
iex> perform("follows_import", scope, "identifier")