Skip to content

SELECT INTO statement executionType is LISTING #81

@lee-campbell

Description

@lee-campbell

The following call:

const result = identify("SELECT * INTO public.\"MyTable1\" FROM public.\"MyTable2\"");

Yields the following result:

[
  {
    "start": 0,
    "end": 53,
    "text": "SELECT * INTO public.\"MyTable1\" FROM public.\"MyTable2\"",
    "type": "SELECT",
    "executionType": "LISTING",
    "parameters": [
    ],
    "tables": [
    ]
  }
]

Given that SELECT INTO statements modify data, the executionType is arguably more accurately described by MODIFICATION.

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