Skip to content

CURRENT_DATE and CURRENT_TIME should appear without brackets #809

Open
@roman4e

Description

@roman4e

In Postgresql functions CURRENT_DATE and CURRENT_TIME are keywords and appear always without brackets.

So there

class CurDate(Function):

Should be added

    def get_function_sql(self, **kwargs):                                                                               
        return "CURRENT_TIME" 

AND
there

class CurTime(Function):

should be added

    def get_function_sql(self, **kwargs):                                                                               
        return "CURRENT_TIME" 

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