Skip to content

Fallback sql view #15

@tleekkul

Description

@tleekkul

fostgres.sql view should be able to set the fallback view when no path is matched.

Example

        {
            "view": "fostgres.sql",
            "configuration": {
                "sql": [{
                    "return": "object",
                    "path": [1],
                    "GET": "SELECT * FROM user WHERE user=$1"
                }],
                "fallback": {
                    "view": "fost.response.302",
                    "configuration": {"location": "some-views"}
                }
            }
        }

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions