Skip to content

Create temporary view #13

Open
Open
@asbabiy

Description

@asbabiy

Temporary view creation can be implemented by adding these lines to the CreateView class.

def __init__(self, element, selectable, on=None, bind=None,
             or_replace=False, temp=False, options=None):
    super(CreateView, self).__init__(element, on=on, bind=bind)
    ...
    self.temp = temp

and

def visit_create_view(create, compiler, **kw):
    ...
    if create.temp:
        text += "TEMP "

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions