Is it possible to get the extent of the current map canvas in a virtual layer query? Something similar to the variable @map_extent in QGIS expressions that can be used to create a polygon covering the current map canvas extent with Geometry generator.
In SpatialLite's SQL functions reference list, I don't see any function to get the map canvas extent. There is the function Extent, but it requires an existing geometry as input.
See here for background about what this is used for.