Ecto.Adapters.SQL.Connection.insert
You're seeing just the callback
insert
, go back to Ecto.Adapters.SQL.Connection module for more information.
Link to this callback
insert(prefix, table, header, rows, on_conflict, returning, placeholders)
View SourceSpecs
insert( prefix :: String.t(), table :: String.t(), header :: [atom()], rows :: [[atom() | nil]], on_conflict :: Ecto.Adapter.Schema.on_conflict(), returning :: [atom()], placeholders :: [term()] ) :: iodata()
Returns an INSERT for the given rows
in table
returning
the given returning
.