Skip to content

Skip column name from json output  #20

@zagzag999

Description

@zagzag999

Will it be possible that the output be only a json array of the values?
I'm doing:
select col from table;

I don't want to get json array [{"col": "val1"}, {"col": "val2"} ...]
Instead I want to skip col an get ["val1", "val2"]

In similar scenario the col is already a json string in the mySql DB.
The output for:
select json from table;

returns values like
["json": "{"id":1, "name": "test"}"]
and preferably it would have been:
[{"id":1,"name","test"}]

Is there a different nginx module to achieve such ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions