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