Skip to content
This repository has been archived by the owner on Dec 29, 2020. It is now read-only.

Select builder adds extra parenthesis #484

Closed
TrevorPilley opened this issue Feb 19, 2020 · 0 comments
Closed

Select builder adds extra parenthesis #484

TrevorPilley opened this issue Feb 19, 2020 · 0 comments
Assignees
Labels
Milestone

Comments

@TrevorPilley
Copy link
Collaborator

When calling

SqlBuilder.Select("Column1", "Column2").From("Table").Where("(Column1 = @p0)", "Foo").ToSqlQuery()

The CommandText is set to:

SELECT Column1,Column2 FROM Table WHERE ((Column1 = @p0))

it should be

SELECT Column1,Column2 FROM Table WHERE (Column1 = @p0)

@TrevorPilley TrevorPilley added this to the 7.0 milestone Feb 19, 2020
TrevorPilley added a commit that referenced this issue Feb 19, 2020
@TrevorPilley TrevorPilley self-assigned this Feb 19, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

No branches or pull requests

1 participant