Skip to content

Format of concat || #9

@cbonafin

Description

@cbonafin

Problem
Mo-sql-parsing parses the concat operator, ||, as:

query_parser(""" select 'a' || 'a' """)
>> {'select': {'value': {'concat': {'literal': ['a', 'a']}}}}

And format as:

format({'select': {'value': {'concat': {'literal': ['a', 'a']}}}})    
>> "SELECT literal || ('a', 'a')"

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions