Skip to content

support postgres json_object syntax #1545

Closed
@lovasoa

Description

@lovasoa

Postgresql supports the following syntax for the json_object function:

json_object('label' VALUE 'value')
json_object('label': 'value')

Reference: https://www.postgresql.org/docs/current/functions-json.html

Related: the key: value syntax was already implemented for mssql by @gaoqiangz in #1507 . We probably just need to enable it (+ a new VALUE separator) for postgres too

#1506

Initially reported in sqlpage/SQLPage#708

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