-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[mssql] Pull Request Database Issue #5458
Comments
This bug occurs in the current master branch. |
I have written the following query which works in SQL Server Management Studio. It uses a subquery and seems to return all results needed for the GetReviewersByPullID function to work. However I do not know how to write subqueries with xorm. I do not know whether this query works in MySQL or PostgreSQL.
|
@chdxD1 You can do that using xorm if db == mssql {
x.SQL(sql).Find(&reviews)
} Could you send a PR? |
@lunny , @chdxD1 and me tried to implement it with the xorm.builder because it was looking like to have subquery functionality, but the version used by gitea is not the current one. So we have give up after a short time.
@lunny can you give an example how the |
@Cellebyte @chdxD1 please confirm #5502 fixed this. |
[x]
):Description
Create a pull request.
If i want to look at my pull requests i get the following issue 500 ServerError.
1.6.0
does not have this issue.The text was updated successfully, but these errors were encountered: