You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.Where(x => x.MatchesSql) currently doesn't allow for ? or repeating a parameter in SQL queries. I'm currently using a custom LINQ operator that supports an anonymous object for parameters. However, it would be nice to have this ability built in to Marten.
My current implementation looks like this and can probably be merged with MatchesSql:
This discussion was converted from issue #1546 on March 04, 2022 17:15.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
.Where(x => x.MatchesSql)
currently doesn't allow for?
or repeating a parameter in SQL queries. I'm currently using a custom LINQ operator that supports an anonymous object for parameters. However, it would be nice to have this ability built in to Marten.My current implementation looks like this and can probably be merged with
MatchesSql
:Beta Was this translation helpful? Give feedback.
All reactions