Skip to content

allow calling sqlpage functions on all rows returned from a database query #337

Closed
@lovasoa

Description

@lovasoa

Currently sqlpage functions are executed before the query is sent to the database, and their output is sent to the database.
To use a value from the database as input in a sqlpage function, one needs to define a variable:

set $x = (select x from y where id = 123);
select sqlpage.some_function($x);

However, the following is not possible:

select sqlpage.some_function(x) from y;

we should lift this limitation.

see #328

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions