<turbo-stream action="append" target="posts_list"><template>    <div class="postbit" id="226684" data-post-id="226684">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="mathieuprog" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/mathieuprog/120/16860_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  mathieuprog
                    <span class="op-star" title="Thread Starter">
                      <img alt="OP" class="op-star-icon" src="/assets/thread-icons/thread-icon-thread-starter-df91e872.png" />
                    </span>
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p><a href="https://github.com/mathieuprog/query_builder" rel="noopener nofollow ugc">QueryBuilder</a> v1.0.0 has been released! <img src="https://forum.elixirforum.com/images/emoji/apple/tada.png?v=15" title=":tada:" class="emoji" alt=":tada:" loading="lazy" width="20" height="20"></p>
<p>New features:</p>
<ul>
<li>add the <code>Extension</code> module allowing to easily extend QueryBuilder with user’s own functions</li>
<li>add support for offset and limit operations</li>
<li>differentiate field names vs an atom value with the syntax <code>:&lt;field_name&gt;@self</code> vs <code>:&lt;atom_value&gt;</code></li>
</ul>
<p>Thanks to <a class="mention" href="/u/onomated" rel="nofollow">@onomated</a> that did all of the work, of high quality!</p>
<p>Because QueryBuilder is considered stable and there have been breaking changes, it has been bumped to 1.0.</p>
<p>Breaking changes:</p>
<p>.1.<br>
<code>QueryBuilder.order_by(User, lastname: :asc)</code> becomes<br>
<code>QueryBuilder.order_by(User, asc: :lastname)</code></p>
<p>.2.<br>
<code>QueryBuilder.where(User, {:name, :eq, :nickname})</code> becomes<br>
<code>QueryBuilder.where(User, {:name, :eq, :nickname@self})</code><br>
(concerns a comparison of two fields of the root schema)</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="226684" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/querybuilder-compose-ecto-queries-without-effort/27704/23">Post #22</a>
	                </div>
	            </div>
              <div id="likers-container-226684" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="226684"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-last-post cat-last-post" title="Last post!"></div>
  </section>
</div>
</template></turbo-stream><turbo-stream action="replace" target="load-more-container"><template><div id="load-more-container" class="load-more-container">
    <span class="all-loaded">— All posts loaded —</span>
</div></template></turbo-stream>