ption">
    <p>The function sends a query plus an <code>sf</code> layer to PostGIS, saving the trouble of manually importing the layer and exporting the result</p>
    </div>

    <div id="ref-usage">
    <div class="sourceCode"><pre class="sourceCode r"><code><span><span class="fu">st_postgis</span><span class="op">(</span><span class="va">x</span>, <span class="va">con</span>, <span class="va">query</span>, prefix <span class="op">=</span> <span class="st">"temporary_nngeo_layer_"</span><span class="op">)