<inputname="q"type="text"class="search-input"placeholder="Search..."aria-label="Input your search terms"autocomplete="off"autocorrect="off"autocapitalize="off"spellcheck="false"/>
<divclass="summary-synopsis"><p>Callback implementation for <ahref="https://hexdocs.pm/ecto/3.10.2/Ecto.Repo.html#c:aggregate/3"><codeclass="inline">Ecto.Repo.aggregate/3</code></a>.</p></div>
<divclass="summary-synopsis"><p>Callback implementation for <ahref="https://hexdocs.pm/ecto/3.10.2/Ecto.Repo.html#c:aggregate/4"><codeclass="inline">Ecto.Repo.aggregate/4</code></a>.</p></div>
<divclass="summary-synopsis"><p>Callback implementation for <ahref="https://hexdocs.pm/ecto/3.10.2/Ecto.Repo.html#c:all/2"><codeclass="inline">Ecto.Repo.all/2</code></a>.</p></div>
<divclass="summary-synopsis"><p>Callback implementation for <ahref="https://hexdocs.pm/ecto/3.10.2/Ecto.Repo.html#c:checked_out?/0"><codeclass="inline">Ecto.Repo.checked_out?/0</code></a>.</p></div>
<divclass="summary-synopsis"><p>Callback implementation for <ahref="https://hexdocs.pm/ecto/3.10.2/Ecto.Repo.html#c:checkout/2"><codeclass="inline">Ecto.Repo.checkout/2</code></a>.</p></div>
<divclass="summary-synopsis"><p>Callback implementation for <ahref="https://hexdocs.pm/ecto/3.10.2/Ecto.Repo.html#c:config/0"><codeclass="inline">Ecto.Repo.config/0</code></a>.</p></div>
<divclass="summary-synopsis"><p>Callback implementation for <ahref="https://hexdocs.pm/ecto/3.10.2/Ecto.Repo.html#c:default_options/1"><codeclass="inline">Ecto.Repo.default_options/1</code></a>.</p></div>
<divclass="summary-synopsis"><p>Callback implementation for <ahref="https://hexdocs.pm/ecto/3.10.2/Ecto.Repo.html#c:delete/2"><codeclass="inline">Ecto.Repo.delete/2</code></a>.</p></div>
<divclass="summary-synopsis"><p>Callback implementation for <ahref="https://hexdocs.pm/ecto/3.10.2/Ecto.Repo.html#c:delete!/2"><codeclass="inline">Ecto.Repo.delete!/2</code></a>.</p></div>
<divclass="summary-synopsis"><p>Callback implementation for <ahref="https://hexdocs.pm/ecto/3.10.2/Ecto.Repo.html#c:delete_all/2"><codeclass="inline">Ecto.Repo.delete_all/2</code></a>.</p></div>
<divclass="summary-synopsis"><p>Callback implementation for <ahref="https://hexdocs.pm/ecto/3.10.2/Ecto.Repo.html#c:exists?/2"><codeclass="inline">Ecto.Repo.exists?/2</code></a>.</p></div>
<divclass="summary-synopsis"><p>Callback implementation for <ahref="https://hexdocs.pm/ecto/3.10.2/Ecto.Repo.html#c:get/3"><codeclass="inline">Ecto.Repo.get/3</code></a>.</p></div>
<divclass="summary-synopsis"><p>Callback implementation for <ahref="https://hexdocs.pm/ecto/3.10.2/Ecto.Repo.html#c:get!/3"><codeclass="inline">Ecto.Repo.get!/3</code></a>.</p></div>
<divclass="summary-synopsis"><p>Callback implementation for <ahref="https://hexdocs.pm/ecto/3.10.2/Ecto.Repo.html#c:get_by/3"><codeclass="inline">Ecto.Repo.get_by/3</code></a>.</p></div>
<divclass="summary-synopsis"><p>Callback implementation for <ahref="https://hexdocs.pm/ecto/3.10.2/Ecto.Repo.html#c:get_by!/3"><codeclass="inline">Ecto.Repo.get_by!/3</code></a>.</p></div>
<divclass="summary-synopsis"><p>Callback implementation for <ahref="https://hexdocs.pm/ecto/3.10.2/Ecto.Repo.html#c:get_dynamic_repo/0"><codeclass="inline">Ecto.Repo.get_dynamic_repo/0</code></a>.</p></div>
<divclass="summary-synopsis"><p>Callback implementation for <ahref="https://hexdocs.pm/ecto/3.10.2/Ecto.Repo.html#c:insert/2"><codeclass="inline">Ecto.Repo.insert/2</code></a>.</p></div>
<divclass="summary-synopsis"><p>Callback implementation for <ahref="https://hexdocs.pm/ecto/3.10.2/Ecto.Repo.html#c:insert!/2"><codeclass="inline">Ecto.Repo.insert!/2</code></a>.</p></div>
<divclass="summary-synopsis"><p>Callback implementation for <ahref="https://hexdocs.pm/ecto/3.10.2/Ecto.Repo.html#c:insert_all/3"><codeclass="inline">Ecto.Repo.insert_all/3</code></a>.</p></div>
<divclass="summary-synopsis"><p>Callback implementation for <ahref="https://hexdocs.pm/ecto/3.10.2/Ecto.Repo.html#c:insert_or_update/2"><codeclass="inline">Ecto.Repo.insert_or_update/2</code></a>.</p></div>
<divclass="summary-synopsis"><p>Callback implementation for <ahref="https://hexdocs.pm/ecto/3.10.2/Ecto.Repo.html#c:insert_or_update!/2"><codeclass="inline">Ecto.Repo.insert_or_update!/2</code></a>.</p></div>
<divclass="summary-synopsis"><p>Similar to <ahref="#insert_all/2"><codeclass="inline">insert_all/2</code></a> but with the following differences</p></div>
<divclass="summary-synopsis"><p>Callback implementation for <ahref="https://hexdocs.pm/ecto/3.10.2/Ecto.Repo.html#c:load/2"><codeclass="inline">Ecto.Repo.load/2</code></a>.</p></div>
<divclass="summary-synopsis"><p>Callback implementation for <ahref="https://hexdocs.pm/ecto/3.10.2/Ecto.Repo.html#c:one/2"><codeclass="inline">Ecto.Repo.one/2</code></a>.</p></div>
<divclass="summary-synopsis"><p>Callback implementation for <ahref="https://hexdocs.pm/ecto/3.10.2/Ecto.Repo.html#c:one!/2"><codeclass="inline">Ecto.Repo.one!/2</code></a>.</p></div>
<divclass="summary-synopsis"><p>Callback implementation for <ahref="https://hexdocs.pm/ecto/3.10.2/Ecto.Repo.html#c:preload/3"><codeclass="inline">Ecto.Repo.preload/3</code></a>.</p></div>
<divclass="summary-synopsis"><p>Callback implementation for <ahref="https://hexdocs.pm/ecto/3.10.2/Ecto.Repo.html#c:prepare_query/3"><codeclass="inline">Ecto.Repo.prepare_query/3</code></a>.</p></div>
<divclass="summary-synopsis"><p>Callback implementation for <ahref="https://hexdocs.pm/ecto/3.10.2/Ecto.Repo.html#c:put_dynamic_repo/1"><codeclass="inline">Ecto.Repo.put_dynamic_repo/1</code></a>.</p></div>
<divclass="summary-synopsis"><p>Callback implementation for <ahref="https://hexdocs.pm/ecto/3.10.2/Ecto.Repo.html#c:reload/2"><codeclass="inline">Ecto.Repo.reload/2</code></a>.</p></div>
<divclass="summary-synopsis"><p>Callback implementation for <ahref="https://hexdocs.pm/ecto/3.10.2/Ecto.Repo.html#c:reload!/2"><codeclass="inline">Ecto.Repo.reload!/2</code></a>.</p></div>
<divclass="summary-synopsis"><p>Callback implementation for <ahref="https://hexdocs.pm/ecto/3.10.2/Ecto.Repo.html#c:start_link/1"><codeclass="inline">Ecto.Repo.start_link/1</code></a>.</p></div>
<divclass="summary-synopsis"><p>Callback implementation for <ahref="https://hexdocs.pm/ecto/3.10.2/Ecto.Repo.html#c:stop/1"><codeclass="inline">Ecto.Repo.stop/1</code></a>.</p></div>
<divclass="summary-synopsis"><p>Callback implementation for <ahref="https://hexdocs.pm/ecto/3.10.2/Ecto.Repo.html#c:stream/2"><codeclass="inline">Ecto.Repo.stream/2</code></a>.</p></div>
<divclass="summary-synopsis"><p>Callback implementation for <ahref="https://hexdocs.pm/ecto/3.10.2/Ecto.Repo.html#c:update/2"><codeclass="inline">Ecto.Repo.update/2</code></a>.</p></div>
<divclass="summary-synopsis"><p>Callback implementation for <ahref="https://hexdocs.pm/ecto/3.10.2/Ecto.Repo.html#c:update!/2"><codeclass="inline">Ecto.Repo.update!/2</code></a>.</p></div>
<divclass="summary-synopsis"><p>Callback implementation for <ahref="https://hexdocs.pm/ecto/3.10.2/Ecto.Repo.html#c:update_all/3"><codeclass="inline">Ecto.Repo.update_all/3</code></a>.</p></div>
</div>
</div>
</section>
<sectionid="functions"class="details-list">
<h1class="section-heading">
<aclass="hover-link"href="#functions">
<iclass="ri-link-m"aria-hidden="true"></i>
<spanclass="sr-only">Link to this section</span>
</a>
Functions
</h1>
<divclass="functions-list">
<sectionclass="detail"id="aggregate/3">
<spanid="aggregate/2"></span>
<divclass="detail-header">
<ahref="#aggregate/3"class="detail-link"title="Link to this function">
<p>Callback implementation for <ahref="https://hexdocs.pm/ecto/3.10.2/Ecto.Repo.html#c:aggregate/3"><codeclass="inline">Ecto.Repo.aggregate/3</code></a>.</p>
</section>
</section>
<sectionclass="detail"id="aggregate/4">
<divclass="detail-header">
<ahref="#aggregate/4"class="detail-link"title="Link to this function">
<p>Callback implementation for <ahref="https://hexdocs.pm/ecto/3.10.2/Ecto.Repo.html#c:aggregate/4"><codeclass="inline">Ecto.Repo.aggregate/4</code></a>.</p>
</section>
</section>
<sectionclass="detail"id="all/2">
<spanid="all/1"></span>
<divclass="detail-header">
<ahref="#all/2"class="detail-link"title="Link to this function">
<p>Callback implementation for <ahref="https://hexdocs.pm/ecto/3.10.2/Ecto.Repo.html#c:checked_out?/0"><codeclass="inline">Ecto.Repo.checked_out?/0</code></a>.</p>
</section>
</section>
<sectionclass="detail"id="checkout/2">
<spanid="checkout/1"></span>
<divclass="detail-header">
<ahref="#checkout/2"class="detail-link"title="Link to this function">
<p>Callback implementation for <ahref="https://hexdocs.pm/ecto/3.10.2/Ecto.Repo.html#c:checkout/2"><codeclass="inline">Ecto.Repo.checkout/2</code></a>.</p>
</section>
</section>
<sectionclass="detail"id="child_spec/1">
<divclass="detail-header">
<ahref="#child_spec/1"class="detail-link"title="Link to this function">
<p>Callback implementation for <ahref="https://hexdocs.pm/ecto/3.10.2/Ecto.Repo.html#c:config/0"><codeclass="inline">Ecto.Repo.config/0</code></a>.</p>
</section>
</section>
<sectionclass="detail"id="default_options/1">
<divclass="detail-header">
<ahref="#default_options/1"class="detail-link"title="Link to this function">
<p>Callback implementation for <ahref="https://hexdocs.pm/ecto/3.10.2/Ecto.Repo.html#c:default_options/1"><codeclass="inline">Ecto.Repo.default_options/1</code></a>.</p>
</section>
</section>
<sectionclass="detail"id="delete/2">
<spanid="delete/1"></span>
<divclass="detail-header">
<ahref="#delete/2"class="detail-link"title="Link to this function">
<p>Callback implementation for <ahref="https://hexdocs.pm/ecto/3.10.2/Ecto.Repo.html#c:delete/2"><codeclass="inline">Ecto.Repo.delete/2</code></a>.</p>
</section>
</section>
<sectionclass="detail"id="delete!/2">
<spanid="delete!/1"></span>
<divclass="detail-header">
<ahref="#delete!/2"class="detail-link"title="Link to this function">
<p>Callback implementation for <ahref="https://hexdocs.pm/ecto/3.10.2/Ecto.Repo.html#c:delete!/2"><codeclass="inline">Ecto.Repo.delete!/2</code></a>.</p>
</section>
</section>
<sectionclass="detail"id="delete_all/2">
<spanid="delete_all/1"></span>
<divclass="detail-header">
<ahref="#delete_all/2"class="detail-link"title="Link to this function">
<p>Callback implementation for <ahref="https://hexdocs.pm/ecto/3.10.2/Ecto.Repo.html#c:delete_all/2"><codeclass="inline">Ecto.Repo.delete_all/2</code></a>.</p>
</section>
</section>
<sectionclass="detail"id="disconnect_all/2">
<spanid="disconnect_all/1"></span>
<divclass="detail-header">
<ahref="#disconnect_all/2"class="detail-link"title="Link to this function">
<p>A convenience function for SQL-based repositories that forces all connections in the
pool to disconnect within the given interval.</p><p>See <ahref="https://hexdocs.pm/ecto_sql/3.10.1/Ecto.Adapters.SQL.html#disconnect_all/3"><codeclass="inline">Ecto.Adapters.SQL.disconnect_all/3</code></a> for more information.</p>
</section>
</section>
<sectionclass="detail"id="exists?/2">
<spanid="exists?/1"></span>
<divclass="detail-header">
<ahref="#exists?/2"class="detail-link"title="Link to this function">
<p>Callback implementation for <ahref="https://hexdocs.pm/ecto/3.10.2/Ecto.Repo.html#c:exists?/2"><codeclass="inline">Ecto.Repo.exists?/2</code></a>.</p>
</section>
</section>
<sectionclass="detail"id="get/3">
<spanid="get/2"></span>
<divclass="detail-header">
<ahref="#get/3"class="detail-link"title="Link to this function">
<p>Callback implementation for <ahref="https://hexdocs.pm/ecto/3.10.2/Ecto.Repo.html#c:get_by/3"><codeclass="inline">Ecto.Repo.get_by/3</code></a>.</p>
</section>
</section>
<sectionclass="detail"id="get_by!/3">
<spanid="get_by!/2"></span>
<divclass="detail-header">
<ahref="#get_by!/3"class="detail-link"title="Link to this function">
<p>Callback implementation for <ahref="https://hexdocs.pm/ecto/3.10.2/Ecto.Repo.html#c:get_by!/3"><codeclass="inline">Ecto.Repo.get_by!/3</code></a>.</p>
</section>
</section>
<sectionclass="detail"id="get_dynamic_repo/0">
<divclass="detail-header">
<ahref="#get_dynamic_repo/0"class="detail-link"title="Link to this function">
<p>Callback implementation for <ahref="https://hexdocs.pm/ecto/3.10.2/Ecto.Repo.html#c:get_dynamic_repo/0"><codeclass="inline">Ecto.Repo.get_dynamic_repo/0</code></a>.</p>
</section>
</section>
<sectionclass="detail"id="insert/2">
<spanid="insert/1"></span>
<divclass="detail-header">
<ahref="#insert/2"class="detail-link"title="Link to this function">
<p>Callback implementation for <ahref="https://hexdocs.pm/ecto/3.10.2/Ecto.Repo.html#c:insert/2"><codeclass="inline">Ecto.Repo.insert/2</code></a>.</p>
</section>
</section>
<sectionclass="detail"id="insert!/2">
<spanid="insert!/1"></span>
<divclass="detail-header">
<ahref="#insert!/2"class="detail-link"title="Link to this function">
<p>Callback implementation for <ahref="https://hexdocs.pm/ecto/3.10.2/Ecto.Repo.html#c:insert!/2"><codeclass="inline">Ecto.Repo.insert!/2</code></a>.</p>
</section>
</section>
<sectionclass="detail"id="insert_all/3">
<spanid="insert_all/2"></span>
<divclass="detail-header">
<ahref="#insert_all/3"class="detail-link"title="Link to this function">
<p>Callback implementation for <ahref="https://hexdocs.pm/ecto/3.10.2/Ecto.Repo.html#c:insert_all/3"><codeclass="inline">Ecto.Repo.insert_all/3</code></a>.</p>
</section>
</section>
<sectionclass="detail"id="insert_or_update/2">
<spanid="insert_or_update/1"></span>
<divclass="detail-header">
<ahref="#insert_or_update/2"class="detail-link"title="Link to this function">
<p>Callback implementation for <ahref="https://hexdocs.pm/ecto/3.10.2/Ecto.Repo.html#c:insert_or_update/2"><codeclass="inline">Ecto.Repo.insert_or_update/2</code></a>.</p>
</section>
</section>
<sectionclass="detail"id="insert_or_update!/2">
<spanid="insert_or_update!/1"></span>
<divclass="detail-header">
<ahref="#insert_or_update!/2"class="detail-link"title="Link to this function">
<p>Callback implementation for <ahref="https://hexdocs.pm/ecto/3.10.2/Ecto.Repo.html#c:insert_or_update!/2"><codeclass="inline">Ecto.Repo.insert_or_update!/2</code></a>.</p>
</section>
</section>
<sectionclass="detail"id="insert_stream/3">
<spanid="insert_stream/2"></span>
<divclass="detail-header">
<ahref="#insert_stream/3"class="detail-link"title="Link to this function">
<p>Similar to <ahref="#insert_all/2"><codeclass="inline">insert_all/2</code></a> but with the following differences:</p><ul><li>accepts rows as streams or lists</li><li>sends rows as a chunked request</li><li>doesn't autogenerate ids or does any other preprocessing</li></ul><p>Example:</p><pre><codeclass="makeup elixir"translate="no"><spanclass="nc">Repo</span><spanclass="o">.</span><spanclass="n">query!</span><spanclass="p"data-group-id="1900472212-1">(</span><spanclass="s">"create table ecto_ch_demo(a UInt64, b String) engine Null"</span><spanclass="p"data-group-id="1900472212-1">)</span><spanclass="w">
<p>Callback implementation for <ahref="https://hexdocs.pm/ecto/3.10.2/Ecto.Repo.html#c:preload/3"><codeclass="inline">Ecto.Repo.preload/3</code></a>.</p>
</section>
</section>
<sectionclass="detail"id="prepare_query/3">
<divclass="detail-header">
<ahref="#prepare_query/3"class="detail-link"title="Link to this function">
<p>Callback implementation for <ahref="https://hexdocs.pm/ecto/3.10.2/Ecto.Repo.html#c:prepare_query/3"><codeclass="inline">Ecto.Repo.prepare_query/3</code></a>.</p>
</section>
</section>
<sectionclass="detail"id="put_dynamic_repo/1">
<divclass="detail-header">
<ahref="#put_dynamic_repo/1"class="detail-link"title="Link to this function">
<p>Callback implementation for <ahref="https://hexdocs.pm/ecto/3.10.2/Ecto.Repo.html#c:put_dynamic_repo/1"><codeclass="inline">Ecto.Repo.put_dynamic_repo/1</code></a>.</p>
</section>
</section>
<sectionclass="detail"id="query/3">
<spanid="query/1"></span>
<spanid="query/2"></span>
<divclass="detail-header">
<ahref="#query/3"class="detail-link"title="Link to this function">
<p>A convenience function for SQL-based repositories that executes the given query.</p><p>See <ahref="https://hexdocs.pm/ecto_sql/3.10.1/Ecto.Adapters.SQL.html#query/4"><codeclass="inline">Ecto.Adapters.SQL.query/4</code></a> for more information.</p>
</section>
</section>
<sectionclass="detail"id="query!/3">
<spanid="query!/1"></span>
<spanid="query!/2"></span>
<divclass="detail-header">
<ahref="#query!/3"class="detail-link"title="Link to this function">
<p>A convenience function for SQL-based repositories that executes the given query.</p><p>See <ahref="https://hexdocs.pm/ecto_sql/3.10.1/Ecto.Adapters.SQL.html#query!/4"><codeclass="inline">Ecto.Adapters.SQL.query!/4</code></a> for more information.</p>
</section>
</section>
<sectionclass="detail"id="reload/2">
<spanid="reload/1"></span>
<divclass="detail-header">
<ahref="#reload/2"class="detail-link"title="Link to this function">
<p>Callback implementation for <ahref="https://hexdocs.pm/ecto/3.10.2/Ecto.Repo.html#c:reload/2"><codeclass="inline">Ecto.Repo.reload/2</code></a>.</p>
</section>
</section>
<sectionclass="detail"id="reload!/2">
<spanid="reload!/1"></span>
<divclass="detail-header">
<ahref="#reload!/2"class="detail-link"title="Link to this function">
<p>Callback implementation for <ahref="https://hexdocs.pm/ecto/3.10.2/Ecto.Repo.html#c:reload!/2"><codeclass="inline">Ecto.Repo.reload!/2</code></a>.</p>
</section>
</section>
<sectionclass="detail"id="start_link/1">
<spanid="start_link/0"></span>
<divclass="detail-header">
<ahref="#start_link/1"class="detail-link"title="Link to this function">
<p>Callback implementation for <ahref="https://hexdocs.pm/ecto/3.10.2/Ecto.Repo.html#c:start_link/1"><codeclass="inline">Ecto.Repo.start_link/1</code></a>.</p>
</section>
</section>
<sectionclass="detail"id="stop/1">
<spanid="stop/0"></span>
<divclass="detail-header">
<ahref="#stop/1"class="detail-link"title="Link to this function">
<p>Callback implementation for <ahref="https://hexdocs.pm/ecto/3.10.2/Ecto.Repo.html#c:stream/2"><codeclass="inline">Ecto.Repo.stream/2</code></a>.</p>
</section>
</section>
<sectionclass="detail"id="to_sql/2">
<divclass="detail-header">
<ahref="#to_sql/2"class="detail-link"title="Link to this function">
<p>A convenience function for SQL-based repositories that translates the given query to SQL.</p><p>See <ahref="https://hexdocs.pm/ecto_sql/3.10.1/Ecto.Adapters.SQL.html#to_sql/3"><codeclass="inline">Ecto.Adapters.SQL.to_sql/3</code></a> for more information.</p>
</section>
</section>
<sectionclass="detail"id="update/2">
<spanid="update/1"></span>
<divclass="detail-header">
<ahref="#update/2"class="detail-link"title="Link to this function">
<p>Callback implementation for <ahref="https://hexdocs.pm/ecto/3.10.2/Ecto.Repo.html#c:update/2"><codeclass="inline">Ecto.Repo.update/2</code></a>.</p>
</section>
</section>
<sectionclass="detail"id="update!/2">
<spanid="update!/1"></span>
<divclass="detail-header">
<ahref="#update!/2"class="detail-link"title="Link to this function">
<p>Callback implementation for <ahref="https://hexdocs.pm/ecto/3.10.2/Ecto.Repo.html#c:update!/2"><codeclass="inline">Ecto.Repo.update!/2</code></a>.</p>
</section>
</section>
<sectionclass="detail"id="update_all/3">
<spanid="update_all/2"></span>
<divclass="detail-header">
<ahref="#update_all/3"class="detail-link"title="Link to this function">
<p>Callback implementation for <ahref="https://hexdocs.pm/ecto/3.10.2/Ecto.Repo.html#c:update_all/3"><codeclass="inline">Ecto.Repo.update_all/3</code></a>.</p>