Skip to content

Running with ParseGo also splits if there are GO in comments #29

@jeffchulg

Description

@jeffchulg

Hi,

there is an option -ParseGO which splits a file or query into multiple pieces of code and runs each splitted code once at a time.

The problem is that the split doesn't take into account that GO could be in comments.

Would it be possible add an option to Invoke-SQLCmd2 to find and replace any GO inside a comment (especially those starting with /* and ending with */) by a space before actually splitting ?

Some links that could help:

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