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


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

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<aside class="quote no-group quote-modified" data-username="loon" data-post="9" data-topic="49550">
<div class="title">
<div class="quote-controls"></div>
<img alt="" width="24" height="24" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/loon/48/26739_2.png" class="avatar"> loon:</div>
<blockquote>
<p>no wonder it is very hard for me to look for the right info, i was looking at <a href="https://hexdocs.pm/ecto/" rel="noopener nofollow ugc">Ecto v3.8.4 — Documentation</a> and the docs has room for improvement.</p>
</blockquote>
</aside>
<p>Ecto is way more powerful than a simple database wrapper and can fetch and query data from basically any source, you can set up an Ecto.Repo that can fetch/update answers from a json api (or multiple data sources at once) and format/validate it using an Ecto.Schema and your app wouldn’t have any idea that it would be data from an json api and not an DB, because of this the Ecto documentation focus in the most generic abstracted parts, migrations are something pretty much SQL related and they are in their own <code>ecto_sql</code> module, but I agree that for someone that isn’t used to it it can be a bit confusing.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="258380" 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/ecto-has-many-on-delete-protect/49550/12">Post #11</a>
	                </div>
	            </div>
              <div id="likers-container-258380" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="258380"
                     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="258381" data-post-id="258381">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="loon" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/loon/120/26739_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  loon
                    <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>ah i see! will look into that! thanks</p>
<aside class="quote no-group" data-username="thomas.fortes" data-post="12" data-topic="49550">
<div class="title">
<div class="quote-controls"></div>
<img alt="" width="24" height="24" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/thomas.fortes/48/19404_2.png" class="avatar"> thomas.fortes:</div>
<blockquote>
<p>but I agree that for someone that isn’t used to it it can be a bit confusing.</p>
</blockquote>
</aside>
<p>yes confused and loved. <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="258381" 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/ecto-has-many-on-delete-protect/49550/13">Post #12</a>
	                </div>
	            </div>
              <div id="likers-container-258381" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="258381"
                     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="258390" data-post-id="258390">
  <section>
    <div class="post-wrap">


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

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<aside class="quote no-group" data-username="thomas.fortes" data-post="12" data-topic="49550">
<div class="title">
<div class="quote-controls"></div>
<img alt="" width="24" height="24" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/thomas.fortes/48/19404_2.png" class="avatar"> thomas.fortes:</div>
<blockquote>
<p>they are in their own <code>ecto_sql</code> module, but I agree that for someone that isn’t used to it it can be a bit confusing.</p>
</blockquote>
</aside>
<p>Hey, don’t forget that part of the <code>Repo</code> config options that you can supply in your <code>config/**.exs</code> files (only those that pertain to actual DB connections, and they are a lot) are actually documented inside <a href="https://hexdocs.pm/db_connection/DBConnection.html#start_link/2" rel="noopener nofollow ugc"><code>DBConnection.start_link/2</code></a>. <img src="https://forum.elixirforum.com/uploads/default/original/2X/6/6c3193d1dd46244da3c8c6f719c9f5e2abdd5ae8.gif?v=15" title=":003:" class="emoji emoji-custom" alt=":003:" 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="258390" data-batch-url="/posts/batch_likers">
                        2
                      </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/ecto-has-many-on-delete-protect/49550/14">Post #13</a>
	                </div>
	            </div>
              <div id="likers-container-258390" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="258390"
                     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>