Skip to content

Commit

Permalink
1.1.73
Browse files Browse the repository at this point in the history
  • Loading branch information
Thorium committed Nov 11, 2019
1 parent 4685dac commit 2bd3829
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 8 deletions.
5 changes: 4 additions & 1 deletion RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
### 1.1.73 - 11.11.2019
* Better filter support to group-by join over 2 or 3 tables

### 1.1.72 - 01.11.2019
* Possibility to join 2 or 3 tables to group-by PR #650
* Better let and into -keyword handlings PR #648
* Better let and into -keyword handling PR #648

### 1.1.71 - 01.11.2019
* Fixed where-before-join -query
Expand Down
8 changes: 4 additions & 4 deletions src/SQLProvider/AssemblyInfo.fs
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ open System.Reflection
[<assembly: AssemblyTitleAttribute("SQLProvider")>]
[<assembly: AssemblyProductAttribute("SQLProvider")>]
[<assembly: AssemblyDescriptionAttribute("Type providers for SQL database access.")>]
[<assembly: AssemblyVersionAttribute("1.1.72")>]
[<assembly: AssemblyFileVersionAttribute("1.1.72")>]
[<assembly: AssemblyVersionAttribute("1.1.73")>]
[<assembly: AssemblyFileVersionAttribute("1.1.73")>]
do ()

module internal AssemblyVersionInformation =
let [<Literal>] AssemblyTitle = "SQLProvider"
let [<Literal>] AssemblyProduct = "SQLProvider"
let [<Literal>] AssemblyDescription = "Type providers for SQL database access."
let [<Literal>] AssemblyVersion = "1.1.72"
let [<Literal>] AssemblyFileVersion = "1.1.72"
let [<Literal>] AssemblyVersion = "1.1.73"
let [<Literal>] AssemblyFileVersion = "1.1.73"
6 changes: 3 additions & 3 deletions src/SQLProvider/SqlRuntime.Linq.fs
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,7 @@ module internal QueryImplementation =
| FilterClause(_, BaseTable(alias,sourceEntity)) ->
sourceAlias, sourceEntity
| FilterClause(_, SelectMany(a1, a2,CrossJoin(_,_),sqlExp))
| FilterClause(_, SelectMany(a1, a2,LinkQuery(_,_),sqlExp))
| FilterClause(_, SelectMany(a1, a2,LinkQuery(_),sqlExp))
| SelectMany(a1, a2,CrossJoin(_,_),sqlExp)
| SelectMany(a1, a2,LinkQuery(_),sqlExp) ->
//let sourceAlias = if sourceTi <> "" then Utilities.resolveTuplePropertyName sourceTi source.TupleIndex else sourceAlias
Expand All @@ -555,8 +555,8 @@ module internal QueryImplementation =
| FilterClause(_, BaseTable(alias,sourceEntity)) when alias = a1 -> a1, sourceEntity
| BaseTable(alias,sourceEntity)
| FilterClause(_, BaseTable(alias,sourceEntity)) when alias = a2 -> a2, sourceEntity
| FilterClause(_, SelectMany(a3, a4,CrossJoin(_,_)),sqlExp2)
| FilterClause(_, SelectMany(a3, a4,LinkQuery(_)),sqlExp2)
| FilterClause(_, SelectMany(a3, a4,CrossJoin(_,_),sqlExp2))
| FilterClause(_, SelectMany(a3, a4,LinkQuery(_),sqlExp2))
| SelectMany(a3, a4,CrossJoin(_,_),sqlExp2)
| SelectMany(a3, a4,LinkQuery(_),sqlExp2) ->
match sqlExp2 with
Expand Down
1 change: 1 addition & 0 deletions tests/SqlProvider.Tests/QueryTests.fs
Original file line number Diff line number Diff line change
Expand Up @@ -1118,6 +1118,7 @@ let ``simple select query with join and then groupBy``() =
query {
for cust in dc.Main.Customers do
join order in dc.Main.Orders on (cust.CustomerId = order.CustomerId)
where(cust.Address <> "Road" && order.ShipName <> "mcboatface")
groupBy (cust.City, order.ShipCity) into g
select (g.Key, g.Max(fun (c,o) -> c.PostalCode))
}
Expand Down

0 comments on commit 2bd3829

Please sign in to comment.