Showing 7 of 7 total issues
Avoid apply/2
and apply/3
when the number of arguments is known Open
Open
apply(parser_module, :call, [input | parser_args])
- Read upRead up
- Exclude checks
Avoid apply/2
and apply/3
when the number of arguments is known
Avoid apply/2
and apply/3
when the number of arguments is known Open
Open
apply(repo, :query!, [sql, []])
- Read upRead up
- Exclude checks
Avoid apply/2
and apply/3
when the number of arguments is known
Avoid apply/2
and apply/3
when the number of arguments is known Open
Open
apply(source_repo, :transaction, [
- Read upRead up
- Exclude checks
Avoid apply/2
and apply/3
when the number of arguments is known
Enum.map_join/3
is more efficient than Enum.map/2 |> Enum.join/2
Open
Open
|> Enum.join(", ")
- Read upRead up
- Exclude checks
Enum.map_join/3
is more efficient than Enum.map/2 |> Enum.join/2
Avoid apply/2
and apply/3
when the number of arguments is known Open
Open
%{rows: [[upserts, deletions]]} = apply(repo, :query!, [sql, params])
- Read upRead up
- Exclude checks
Avoid apply/2
and apply/3
when the number of arguments is known
Avoid apply/2
and apply/3
when the number of arguments is known Open
Open
apply(repo, :delete_all, [table])
- Read upRead up
- Exclude checks
Avoid apply/2
and apply/3
when the number of arguments is known
Enum.map_join/3
is more efficient than Enum.map/2 |> Enum.join/2
Open
Open
|> Enum.join())
- Read upRead up
- Exclude checks
Enum.map_join/3
is more efficient than Enum.map/2 |> Enum.join/2