lib/surgex/data_pipe/table_sync.ex
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
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