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


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="matt212" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/matt212/120/3957_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  matt212
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Thank you , sure moving forword will take the markdown factor into account.<br>
and also edited my queries as per markdowns</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="22301" data-batch-url="/posts/batch_likers">
                        1
                      </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/map-filter-and-reduce/1219/12">Post #11</a>
	                </div>
	            </div>
              <div id="likers-container-22301" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="22301"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #11"></div>
  </section>
</div>
    <div class="postbit" id="22302" data-post-id="22302">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="OvermindDL1" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/OvermindDL1/120/2677_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  OvermindDL1
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<aside class="quote no-group" data-username="matt212" data-post="12" data-topic="1219" data-full="true">
<div class="title">
<div class="quote-controls"></div>
<img alt="" width="24" height="24" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/matt212/48/3957_2.png" class="avatar"> matt212:</div>
<blockquote>
<p>Thank you , sure moving forword will take the markdown factor into account.and also edited my queries as per markdowns</p>
</blockquote>
</aside>
<p>Awesome!  The formatting looks perfect!</p>
<p>Please ask if you have any other questions or conversions, I like the challenges.  <img src="https://forum.elixirforum.com/images/emoji/apple/slight_smile.png?v=15" title=":slight_smile:" class="emoji" alt=":slight_smile:" loading="lazy" width="20" height="20"></p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="22302" data-batch-url="/posts/batch_likers">
                        3
                      </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/map-filter-and-reduce/1219/13">Post #12</a>
	                </div>
	            </div>
              <div id="likers-container-22302" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="22302"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #12"></div>
  </section>
</div>
    <div class="postbit" id="22348" data-post-id="22348">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="matt212" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/matt212/120/3957_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  matt212
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Hi ,<br>
I have a query, I would like to make dynamic Sql statements for multiple where clauses in elixir and pass it across to raw queries.<br>
Please note i use sql.format in my nodejs code to prevent “SQL injection”<br>
my existing javascript code looks likes this</p>
<pre><code>var interns = [{
    "name": "donnie"
}, {
    "age": 16
}, {
    "gender": "male"
}]


var selector = ""
interns.forEach(function(item, index) {

    var searchvalue = item[Object.keys(item)];
    var searchkey = Object.keys(item)[0];


    if (selector == "") {
        selector = "and " + (searchkey) + " LIKE " + "'%" + (searchvalue) + "%'";
    } else {
        selector = selector + " and  " + (searchkey) + " LIKE " + "'%" + (searchvalue) + "%'";
    }


})
console.log(selector)
</code></pre>
<p>, how can we achieve the same in elixir .<br>
my progress is kinda stuck in how to trigger else clause and append to z variable</p>
<pre><code>user_params=[%{"age" =&gt; 19}, %{"name" =&gt; "matt213"}, %{"sex" =&gt; "male"}]

sqlwhere=1;
z="";
for norm &lt;- user_params do

for {k, x} &lt;- norm do
  IO.inspect  sqlwhere
 if sqlwhere &lt;=1  do
   
   intern=" and #{k} = '#{x}'"
   x = "and #{k}="
 y = "'#{x}'"
 z = x &lt;&gt; " " &lt;&gt; y
  
  IO.inspect  z
  sqlwhere=sqlwhere+1;


else
 IO.inspect  "unable to get here !"
#     j = "#{k}"
# l = "#{x}"
# k = j &lt;&gt; " " &lt;&gt; l
#    IO.inspect k

   #list=list+"#{list} where #{k} = '#{x}'"  
end
end

end
</code></pre> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="22348" data-batch-url="/posts/batch_likers">
                        1
                      </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/map-filter-and-reduce/1219/14">Post #13</a>
	                </div>
	            </div>
              <div id="likers-container-22348" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="22348"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #13"></div>
  </section>
</div>
    <div class="postbit" id="22350" data-post-id="22350">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="michalmuskala" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/michalmuskala/120/20288_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  michalmuskala
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Using strings for building SQL is risky. Fortunately with ecto, we don’t have to do it:</p>
<pre data-code-wrap="elixir"><code class="lang-elixir">user_params = [%{"age" =&gt; 19}, %{"name" =&gt; "matt213"}, %{"sex" =&gt; "male"}]
user_params
|&gt; Enum.map(&amp;Enum.to_list/1)
|&gt; Enum.reduce(Foo, fn [{key, value}], query -&gt;
  field = String.to_existing_atom(key)
  search = "%#{value}%"
  from q in query, where: like(field(q, ^field), ^search)
end
</code></pre>
<p>where <code>Foo</code> is the schema you want to search. I would also probably employ some more advanced mechanism for filtering allowed fields than <code>String.to_existing_atom/1</code>, but for an example it’s good enough.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="22350" data-batch-url="/posts/batch_likers">
                        3
                      </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/map-filter-and-reduce/1219/15">Post #14</a>
	                </div>
	            </div>
              <div id="likers-container-22350" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="22350"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #14"></div>
  </section>
</div>
    <div class="postbit" id="22357" data-post-id="22357">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="matt212" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/matt212/120/3957_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  matt212
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Hi,</p>
<p>Apologise for earlier post of in process codebase and case scenarios this is my updated codebase;</p>
<pre><code>ui = [%{"age" =&amp;gt; 19}, %{"fullname" =&amp;gt; "todd"}]
lists=ui
|&amp;gt; Enum.map(&amp;Enum.to_list/1)
|&amp;gt; Enum.reduce(User, fn [{key, value}], query -&amp;gt;
  field = String.to_existing_atom(key)
  search = "%#{value}%"
  Repo.all from(q in query, where: like(field(q, ^field), ^search), select: {q.fullname, q.age})
end) 
IO.inspect  lists
</code></pre>
<p>However , I am getting below exception for the same . could you please provide any pointers on same</p>
<pre><code>** (exit) an exception was raised:
    ** (Protocol.UndefinedError) protocol Ecto.Queryable not implemented for [{"
Todd", 19}]
        (ecto) lib/ecto/queryable.ex:1: Ecto.Queryable.impl_for!/1
        (ecto) lib/ecto/queryable.ex:9: Ecto.Queryable.to_query/1
</code></pre> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="22357" data-batch-url="/posts/batch_likers">
                        1
                      </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/map-filter-and-reduce/1219/20">Post #19</a>
	                </div>
	            </div>
              <div id="likers-container-22357" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="22357"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #19"></div>
  </section>
</div>
    <div class="postbit" id="22363" data-post-id="22363">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="benwilson512" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/benwilson512/120/1457_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  benwilson512
                  </h3>
		          </div>
						
			          <div class="user-title">
									<span>Author of Craft GraphQL APIs in Elixir with Absinthe</span>
			          </div>
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>You don’t want to do <code>Repo.all</code> inside the <code>Enum.reduce</code> callback. The idea is that <code>reduce</code> is reducing over a single query, building it up with each iteration. The return value of the Enum.reduce is the query that you want to execute.</p>
<pre data-code-wrap="elixir"><code class="lang-elixir">user_params = [%{"age" =&gt; 19}, %{"name" =&gt; "matt213"}, %{"sex" =&gt; "male"}]
query =
  user_params
  |&gt; Enum.map(&amp;Enum.to_list/1)
  |&gt; Enum.reduce(Foo, fn [{key, value}], query -&gt;
    field = String.to_existing_atom(key)
    search = "%#{value}%"
    from q in query, where: like(field(q, ^field), ^search)
  end

users = Repo.all(query)
</code></pre>
<p>Or simply:</p>
<pre data-code-wrap="elixir"><code class="lang-elixir">users =
  user_params
  |&gt; Enum.map(&amp;Enum.to_list/1)
  |&gt; Enum.reduce(Foo, fn [{key, value}], query -&gt;
    field = String.to_existing_atom(key)
    search = "%#{value}%"
    from q in query, where: like(field(q, ^field), ^search)
  end
  |&gt; Repo.all
</code></pre> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="22363" data-batch-url="/posts/batch_likers">
                        3
                      </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/map-filter-and-reduce/1219/21">Post #20</a>
	                </div>
	            </div>
              <div id="likers-container-22363" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="22363"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #20"></div>
  </section>
</div>
    <div class="postbit" id="22365" data-post-id="22365">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="matt212" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/matt212/120/3957_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  matt212
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<aside class="quote no-group quote-modified" data-username="benwilson512" data-post="21" data-topic="1219">
<div class="title">
<div class="quote-controls"></div>
<img alt="" width="24" height="24" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/benwilson512/48/1457_2.png" class="avatar"> benwilson512:</div>
<blockquote>
<p>user_params = [%{“age” =&gt; 19}, %{“name” =&gt; “matt213”}, %{“sex” =&gt; “male”}]</p>
</blockquote>
</aside>
<p>Affirmative , now it seems quite clear  the functional usage of repo, thanks !<br>
one more query what  modification is required in code if the incoming user_params look like this</p>
<p><code>user_params =  %{"age" =&gt; 19, "fullname" =&gt; "matt213", "sex" =&gt; "male"}</code></p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="22365" data-batch-url="/posts/batch_likers">
                        1
                      </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/map-filter-and-reduce/1219/22">Post #21</a>
	                </div>
	            </div>
              <div id="likers-container-22365" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="22365"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #21"></div>
  </section>
</div>
    <div class="postbit" id="22377" data-post-id="22377">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="benwilson512" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/benwilson512/120/1457_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  benwilson512
                  </h3>
		          </div>
						
			          <div class="user-title">
									<span>Author of Craft GraphQL APIs in Elixir with Absinthe</span>
			          </div>
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>This is a simple enough change I think it’s best if you gave it a shot on your own. If you have something like</p>
<pre data-code-wrap="elixir"><code class="lang-elixir">user_params = %{"age" =&gt; 19, "fullname" =&gt; "matt213", "sex" =&gt; "male"}
</code></pre>
<p>what does doing</p>
<pre data-code-wrap="elixir"><code class="lang-elixir">user_params |&gt; Enum.map(fn thing -&gt; IO.inspect(thing) end)
</code></pre>
<p>print?</p>
<p>What does this tell you about the shape of each item when you map over a map, and how might that fit into your Enum.reduce call?</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="22377" data-batch-url="/posts/batch_likers">
                        1
                      </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/map-filter-and-reduce/1219/23">Post #22</a>
	                </div>
	            </div>
              <div id="likers-container-22377" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="22377"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #22"></div>
  </section>
</div>
    <div class="postbit" id="22454" data-post-id="22454">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="matt212" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/matt212/120/3957_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  matt212
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>hi ,<br>
below is my modified codebase , it throws below error</p>
<blockquote>
<p>** (exit) an exception was raised:<br>
** (Protocol.UndefinedError) protocol Ecto.Queryable not implemented for<br>
[<span class="hashtag-raw">#Ecto.Query</span> from u in HelloPhoenix.User, where: like(u.age, ^“%19%”)&gt;, <span class="hashtag-raw">#Ecto.Query</span><br>
from u in HelloPhoenix.User, where: like(u.name, ^“%matt213%”)&gt;]</p>
</blockquote>
<p>Modified Codebase</p>
<pre><code>      query=user_params
      |&gt; Enum.map(&amp;Enum.to_list/1)
      |&gt; Enum.reduce(User, fn thing, query -&gt;

 for {key, value} &lt;- thing do

    field = String.to_existing_atom(key)
    search = "%#{value}%"
    from q in query, where: like(field(q, ^field), ^search)

end

  end)
 user = Repo.all(query)

IO.inspect user
</code></pre> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="22454" data-batch-url="/posts/batch_likers">
                        1
                      </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/map-filter-and-reduce/1219/24">Post #23</a>
	                </div>
	            </div>
              <div id="likers-container-22454" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="22454"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #23"></div>
  </section>
</div>
    <div class="postbit" id="22456" data-post-id="22456">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="benwilson512" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/benwilson512/120/1457_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  benwilson512
                  </h3>
		          </div>
						
			          <div class="user-title">
									<span>Author of Craft GraphQL APIs in Elixir with Absinthe</span>
			          </div>
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Hey there.</p>
<p>What is <code>thing</code>? Why do you still have the <code>Enum.map(&amp;Enum.to_list/1)</code> line? Did you run the line I suggested to help you understand what calling <code>Enum.map</code> on a map results in?</p>
<p>The issue here is that I think you’re simply combining bits of code people are giving you without understanding what each piece is doing, and what the values are at each point. Start at the very very beginning</p>
<pre data-code-wrap="elixir"><code class="lang-elixir">query = user_params
|&gt; Enum.map(fn x -&gt; IO.inspect(x) end)
</code></pre>
<p>Figure out what that does, and what it means. Until you do that all this other stuff isn’t gonna help.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="22456" data-batch-url="/posts/batch_likers">
                        1
                      </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/map-filter-and-reduce/1219/25">Post #24</a>
	                </div>
	            </div>
              <div id="likers-container-22456" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="22456"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #24"></div>
  </section>
</div>
</template></turbo-stream><turbo-stream action="replace" target="load-more-container"><template><div id="load-more-container" class="load-more-container">
    <a class="load-more-button" data-turbo-stream="true" href="/topics/1219/load_more?page=3">Load more posts (8 remaining)</a>
</div></template></turbo-stream>