Skip to content

mixed functions do not work #267

Open
@Gcaufy

Description

LIMIT {{ default(page.PageIndex, 0) * default(page.PageSize, 20) }}, {{ default(page.PageSize, 20) }})

This works well, getting LIMIT 0, 20

LIMIT {{ default(page.PageIndex, 0) * min([default(page.PageSize, 20), 200]) }}, {{ min([default(page.PageSize, 20), 200]) }})

This one throw an error exception=[inja.exception.parser_error] (at 15:69) unknown function default

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions