fluent-kit

1.47.2

Swift ORM (queries, models, and relations) for NoSQL and SQL databases
vapor/fluent-kit

What's New

1.47.2 - Skip DB execution when all ids for @OptionalParent are nil

2024-03-23T01:37:57Z

What's Changed

Skip DB execution when all ids for @OptionalParent are nil by @mtj0928 in #583

OptionalParentEagerLoader doesn’t need to fetch To objects when all ids of the given models are nil, because the results of the DB execution will always be empty.

Therefore, I’ve modified the logic to skip the DB execution in such cases to improve performance.

New Contributor

This patch was released by @gwynne

Full Changelog: 1.47.1...1.47.2

Description

  • Swift Tools 5.6.0
View More Packages from this Author

Dependencies

Last updated: Sat Apr 20 2024 04:39:32 GMT-0900 (Hawaii-Aleutian Daylight Time)