Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
028b07f
quote table, column and alias names with SqlSyntaxProvider methods in…
idseefeld Jan 29, 2026
e406c32
refactoring private methods into new file as internal methods,
idseefeld Jan 29, 2026
8344bfb
refactor GetAlias method
idseefeld Jan 29, 2026
6511dea
Double check the change
idseefeld Jan 29, 2026
12072a1
improve code health
idseefeld Jan 30, 2026
95388db
change new static classes into public static partial class NPocoSqlEx…
idseefeld Jan 30, 2026
c090be3
Merge branch 'main' into v173/21451-quote-raw-sql-names-with-SqlSynta…
idseefeld Jan 30, 2026
4d610a6
Merge branch 'main' into v173/21451-quote-raw-sql-names-with-SqlSynta…
idseefeld Jan 30, 2026
b6dfd5b
Merge branch 'v173/21451-quote-raw-sql-names-with-SqlSyntaxProvider-m…
idseefeld Jan 30, 2026
a88479f
resolve some Copilot review suggestions
idseefeld Jan 30, 2026
f140a57
revert Copilot suggestion because it decreases code health
idseefeld Jan 30, 2026
c9deac7
revert test
idseefeld Jan 30, 2026
3f1fed8
compare in with LOWER, change two methods from private to protected i…
idseefeld Jan 30, 2026
ca8fba2
revert Query.cs in this PR
idseefeld Jan 30, 2026
94adb7f
Refactor for code health and fixing raw sql
idseefeld Jan 30, 2026
c3559ca
divers small issues fixed
idseefeld Jan 30, 2026
2e35483
refactor two methods to respect the DRY pricipal
idseefeld Jan 31, 2026
b7da3b9
update IQuery interface
idseefeld Jan 31, 2026
f4cfb09
clean up
idseefeld Jan 31, 2026
72c0ca7
revert refactoring for CodeScene
idseefeld Feb 2, 2026
100b472
delete obsolete Test
idseefeld Feb 2, 2026
c14eff9
rename method
idseefeld Feb 2, 2026
a6608c8
remove new methods and updates, which are not relevat for this PR
idseefeld Feb 2, 2026
e549394
prepare for additional states in the future
idseefeld Feb 2, 2026
968a7a6
don't mix string building methods
idseefeld Feb 2, 2026
3eddfbd
fix SQL injection danger
idseefeld Feb 2, 2026
e44abf8
Merge branch 'main' into v173/21451-quote-raw-sql-names-with-SqlSynta…
idseefeld Feb 2, 2026
a4addf9
fix test for reverted methods
idseefeld Feb 2, 2026
6ece7b9
Merge branch 'main' into v173/21451-quote-raw-sql-names-with-SqlSynta…
idseefeld Feb 2, 2026
26e834e
add new methods again
idseefeld Feb 2, 2026
6ba7569
another SqlSyntax issue
idseefeld Feb 2, 2026
f4bfcfa
Merge branch 'v173/21451-quote-raw-sql-names-with-SqlSyntaxProvider-m…
idseefeld Feb 2, 2026
bab1d28
fix update
idseefeld Feb 2, 2026
6ccbcc0
merge main into v173/21513-open-methods-for-plugins
idseefeld Feb 3, 2026
662c749
fix reverted changes
idseefeld Feb 3, 2026
eb102c3
restore change for this PR
idseefeld Feb 3, 2026
9694329
restore change for this PR
idseefeld Feb 3, 2026
2753d42
Merge branch 'v173/21513-open-methods-for-plugins' into v173/21516-Da…
idseefeld Feb 3, 2026
c57daae
merge v173/21516-DatabaseDataCreator-refactor into v173/20453-remanin…
idseefeld Feb 3, 2026
7d19039
fix merge bug
idseefeld Feb 3, 2026
cb617ce
Merge branch 'main' into v173/21513-open-methods-for-plugins
idseefeld Feb 3, 2026
378a3be
Merge branch 'main' into v173/20453-remaning-issues
idseefeld Feb 3, 2026
8dd5973
Merge branch 'main' into v173/21513-open-methods-for-plugins
idseefeld Feb 3, 2026
382f423
Merge branch 'v173/21513-open-methods-for-plugins' into v173/21516-Da…
idseefeld Feb 3, 2026
dd1ed48
Merge branch 'v173/21516-DatabaseDataCreator-refactor' into v173/2045…
idseefeld Feb 3, 2026
2dbc124
update formating
idseefeld Feb 3, 2026
ddf9527
Merge branch 'main' into v173/21516-DatabaseDataCreator-refactor
idseefeld Feb 3, 2026
023878c
Merge branch 'v173/21516-DatabaseDataCreator-refactor' of https://git…
idseefeld Feb 4, 2026
2d05f06
Merge branch 'main' into v173/21513-open-methods-for-plugins
idseefeld Feb 4, 2026
f12914f
Merge branch 'v173/21513-open-methods-for-plugins' into v173/21516-Da…
idseefeld Feb 4, 2026
78f0273
Merge branch 'v173/21516-DatabaseDataCreator-refactor' into v173/2045…
idseefeld Feb 4, 2026
56a5829
extend ISqlSytax for database independent autoIkrement feature
idseefeld Feb 4, 2026
2ea0e76
Merge branch 'main' into v173/21513-open-methods-for-plugins
idseefeld Feb 4, 2026
276e72a
Merge branch 'v173/21513-open-methods-for-plugins' into v173/21516-Da…
idseefeld Feb 4, 2026
83e389b
Merge branch 'v173/21516-DatabaseDataCreator-refactor' into v173/2045…
idseefeld Feb 4, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions src/Umbraco.Core/Persistence/Querying/IQuery.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,16 @@ public interface IQuery<T>
/// <param name="predicates"></param>
/// <returns>This instance so calls to this method are chainable.</returns>
IQuery<T> WhereAny(IEnumerable<Expression<Func<T, bool>>> predicates);

/// <summary>
/// Adds a WHERE IN or WHERE NOT IN clause to the query based on the specified field and values.
/// </summary>
/// <param name="fieldSelector">An expression that selects the field to apply the IN or NOT IN filter to. If null, no filter is applied.</param>
/// <param name="values">A collection of values to compare against the selected field. Only records with field values matching (or not
/// matching, if <paramref name="isIn"/> is false) these values are included.</param>
/// <param name="isIn">If <see langword="true"/>, applies an IN filter; if <see langword="false"/>, applies a NOT IN filter. The
/// default is <see langword="true"/>.</param>
/// <returns>The current query instance with the IN or NOT IN filter applied. If <paramref name="fieldSelector"/> is null,
/// returns the original query instance without modification.</returns>
IQuery<T> WhereInOrNotIn(Expression<Func<T, object>>? fieldSelector, IEnumerable? values, bool isIn = true) => throw new NotImplementedException(); // TODO (V18): Remove default implementation.
}
Loading
Loading