<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hi folks,</p>
    <p>A while ago, I figured out how to limit a query on a layer by the current map extent as a preparation for another query:</p>
    <p>SELECT *
FROM ASK_Geometrien
WHERE st_intersects(ASK_Geometrien.geometry, currentExtent());</p>
    <p>Now, when I try it again later, the test fails with "no such function: currentExtent"</p>
    <p>Has something changed or are there other means to achieve the same goal?
</p>
    <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">QGIS 3.22.3-Białowieża</p>
    <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">
</p>
    <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Cheers,</p>
    <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Bernd
</p>
    <table style="margin: 0px;" width="697" height="25" cellspacing="2"
      cellpadding="0" border="0" align="center">
      <tbody>
        <tr>
          <td><br>
          </td>
          <td><br>
          </td>
        </tr>
      </tbody>
    </table>
    <p><style type="text/css">p, li { white-space: pre-wrap; }</style></p>
  </body>
</html>