vapor / fluent-postgres-driver

🐘 PostgreSQL driver for Fluent.
MIT License
149 stars 53 forks source link

filter call no longer compiles #70

Closed grosch closed 6 years ago

grosch commented 6 years ago

Now that FluentSQL went away this no longer compiles:

try ViewOrderPoint.query(on: req)
                            .filter(ViewOrderPoint.self, \ViewOrderPoint.orderID == order.id!)
                            .all()

It says the == is ambiguous.

grosch commented 6 years ago

In case somebody else sees this, you now need to remove the first parameter and then it compiles.