Tim Condon
Tim Condon
This looks OK to me but I don't know enough about MySQL to say what is the correct approach. I'll leave it to Gwynne. It may be that different versions...
This hasn't been approached yet. If someone wants to pick it up that would be awesome but it's likely to be bumped to the Fluent 5 feature list
Can you do: ```swift Planet.query(on: req.db).with(\.$star) { star in star.withDeleted() }.withDeleted().all().map { planets in for planet in planets { print(planet.star) } } ```
Annoying but one option to add the API to
We probably need to create a new Swift type `DateOnly` (or similar) to encapsulate just a date and make it hook in with Fluent. That should solve the issue
(The quick way around this is to create a `CreateArticleData` type that contains the bits that makes it logical to send and then construct a real `Article` in your code....
This is probably out of scope for Fluent since the supported databases don't all support this. Providing a custom query with SQL for the sort function or lowercase function etc...
It looks like the ordering of parameters in FluentKit is not consistent on macOS - on Linux we seem to have no issues and CI is always fine. cc @gwynne
@ecamacho I'm just doing some tidy ups and spotted this! If you want to pull in all the latest changes and get it compiling that should fix both the CI...
@fatto Fluent doesn't have 'real' aggregate support as described in the issue as it can't do things like `GROUP BY`