#QueryExpression
It's possible to cook up a micro library of query helpers for your app, and then piece them together to form more complex queries.

Here we have query fragments for selecting past due reminders, scheduled reminders, reminders due today, and for aggregating tag titles into an array of strings!
June 17, 2025 at 3:49 PM
Swift’s parameter packs is a powerful tool that we can leverage for selecting any number of columns in our SQL query builder. We can even support complex aggregate functions!

Watch this week's episode to learn how: www.pointfree.co/episodes/ep3...
March 20, 2025 at 6:49 PM
It may also be more efficient (from a database perspective) to include the link entities in the filters...

A relatively new feature that is available in FetchXML.
Try it, test it, compare it!

It is not supported by QueryExpression, though; use FetchExpression instead.
January 15, 2025 at 9:23 AM
When Entity.Id Is Guid.Empty with QueryExpression.Distinct = True (Dataverse): While optimising the performance of a Dataverse plugin, we noticed a QueryExpression using ColumnSet(true). The business logic only required a few… @nishantranaCRM #Dataverse #QueryExpression #PluginDevelopment
When Entity.Id Is Guid.Empty with QueryExpression.Distinct = True (Dataverse)
While optimising the performance of a Dataverse plugin, we noticed a QueryExpression using ColumnSet(true). The business logic only required a few attributes, so replacing ColumnSet(true) with a minimal ColumnSet looked like an easy performance improvement. The query also used Distinct = true, which we left unchanged because it had always been there and everything was … Continue reading "When Entity.Id Is Guid.Empty with QueryExpression.Distinct = True (Dataverse)"
dlvr.it
September 16, 2026 at 7:04 PM
We received many reactions to code like this a few months ago when we previewed our SQL building library.

We are leveraging the power of Swift parameter packs to select any number of expressions from any number of joined tables. Once you understand the syntax it is quite easy!
April 18, 2025 at 3:15 PM
This week we introduce type-safety to our SQL builder library! By leveraging primary associated types we get a lightweight syntax to describe exactly what type of expression is valid at compile time.

Watch our video to see how it's done: www.pointfree.co/episodes/ep3...
April 2, 2025 at 4:09 PM
** NEW BLOG** Using Aggregate Functions with QueryExpression in Dynamics 365 By inogicmsdyn365dataverseapps

Introduction
In Microsoft Dataverse (Power Apps), ...

https://365community.online/using-aggregate-functions-with-queryexpression-in-dynamics-365

#365CommunityOnline #MircosoftCommunity
June 20, 2025 at 8:50 AM
** NEW BLOG** Using Aggregate Functions with QueryExpression in Dynamics 365 By inogicmsdyn365dataverseapps

Introduction
In Microsoft Dataverse (Power Apps), ...

https://365community.online/using-aggregate-functions-with-queryexpression-in-dynamics-365

#365CommunityOnline #MircosoftCommunity
June 20, 2025 at 8:50 AM