<section>
  <h2 id="query">
    Querying old data with <code>query</code>
  </h2>

  <p class="alert alert-warning">
    <a href="announcements-4.0.html#query-to-data-adapter" class="alert-link">Deprecated in Select2 4.0.</a>
    This has been replaced by another option and is only available in the
    <a href="index.html#builds-full" class="alert-link">full builds</a> of
    Select2.
  </p>

  <p>
    In the past, Select2 supported an option called <code>query</code> that
    allowed for a cu