Ecto.Adapter.Schema.insert_all
You're seeing just the callback
insert_all
, go back to Ecto.Adapter.Schema module for more information.
Link to this callback
insert_all(adapter_meta, schema_meta, header, list, on_conflict, returning, placeholders, options)
View SourceSpecs
insert_all( adapter_meta(), schema_meta(), header :: [atom()], [[{atom(), term() | {Ecto.Query.t(), list()}}]], on_conflict(), returning(), placeholders(), options() ) :: {integer(), [[term()]] | nil}
Inserts multiple entries into the data store.
In case an Ecto.Query
given as any of the field values by the user,
it will be sent to the adapter as a tuple with in the shape of
{query, params}
.