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


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

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>That’s on you <img src="https://forum.elixirforum.com/images/emoji/apple/stuck_out_tongue.png?v=15" title=":stuck_out_tongue:" class="emoji" alt=":stuck_out_tongue:" loading="lazy" width="20" height="20"> I just answered your question: “is it possible to implement an ecto adapter for postgrest?”</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="303953" 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/would-it-be-possible-to-implement-an-ecto-adapter-for-postgrest/58867/12">Post #11</a>
	                </div>
	            </div>
              <div id="likers-container-303953" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="303953"
                     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="303956" data-post-id="303956">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="zoedsoupe" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/zoedsoupe/120/25602_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  zoedsoupe
                    <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">
								<aside class="quote no-group" data-username="dimitarvp" data-post="11" data-topic="58867">
<div class="title">
<div class="quote-controls"></div>
<img alt="" width="24" height="24" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/dimitarvp/48/38664_2.png" class="avatar"> dimitarvp:</div>
<blockquote>
<p>But I thought that Supabase provides various services that step on a number of PostgreSQL features and extensions (PostgREST included?)</p>
</blockquote>
</aside>
<p>hmm I thing I dodn’t understand your point too. I mean, is more straight forward to connect directly via postgresql connection string, but postgREST has its own use cases. It will not become the “oficcial way” to connecto to database, specially if your HTTP connection have high latency, and will mostly used on frontend only applications. But I think it have its value to come to the Elixir ecosystem. Supabase indeed uses Postgres under the hood to provide their services like Auth or Realtime API. However I would like to build another layer of abstraction, like I already did for the <a href="https://github.com/zoedsoupe/supabase_storage" rel="noopener nofollow ugc">Supabase Storage</a> service, like a HTTP client.</p>
<p>Also this project is being som of my firstly contribution to open source, so I would like to contribute, learn more about supabase and maybe help anyone who cared to used supabase services from phoenix/elixir apps in a easy way <img src="https://forum.elixirforum.com/images/emoji/apple/blush.png?v=15" title=":blush:" class="emoji" alt=":blush:" 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="303956" 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/would-it-be-possible-to-implement-an-ecto-adapter-for-postgrest/58867/13">Post #12</a>
	                </div>
	            </div>
              <div id="likers-container-303956" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="303956"
                     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="303959" data-post-id="303959">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="zoedsoupe" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/zoedsoupe/120/25602_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  zoedsoupe
                    <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>Ok, that’s fine! I’m really digging on adapters/drivers implementations and I came to a <a href="https://paveltyk.medium.com/custom-postgresql-driver-and-adapter-for-ecto-bedf1f9e0d19" rel="noopener nofollow ugc">medium article</a> that rewrites a postgresql driver and adapter, the <a href="http://blog.plataformatec.com.br/2018/11/building-a-new-mysql-adapter-for-ecto-part-i-hello-world/" rel="noopener nofollow ugc">plataformatec article</a> that writes a mysql adapter to ecto and the <a href="https://github.com/Nebo15/ecto_mnesia" rel="noopener nofollow ugc">ecto_mnesia</a> library that is an adapter, but for only ecto 2.0.</p>
<p>Edit: I just found a <a href="https://hexdocs.pm/ecto3_mnesia/readme.html" rel="noopener nofollow ugc">ecto3_mnesia</a> adapter, so i will dig in to it because my adapter can’t depend on a SQL driver…</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="303959" 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/would-it-be-possible-to-implement-an-ecto-adapter-for-postgrest/58867/14">Post #13</a>
	                </div>
	            </div>
              <div id="likers-container-303959" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="303959"
                     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>