Skip to content

add the ability to run sqlpage functions with dynamic contents instead of just literal values #237

Closed
@lovasoa

Description

@lovasoa

Today, the following is not supported:

select sqlpage.some_function(my_column) from my_table

It fails with an error saying something like some_function(my_column) is not a valid call. Expected a literal single quoted string..

This is because sqlpage runs all functions before sending the query to the database.

With some engineering, it should be possible to support running the function either before or after the query has run, depending on context, which would be very powerful.

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