SqliteDbFunctionsExtensions.Glob(DbFunctions, String, String) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Maps to the SQLite glob
function which is similar to
Like(DbFunctions, String, String) but uses the file system globbing
syntax instead.
public static bool Glob (this Microsoft.EntityFrameworkCore.DbFunctions _, string matchExpression, string pattern);
static member Glob : Microsoft.EntityFrameworkCore.DbFunctions * string * string -> bool
<Extension()>
Public Function Glob (_ As DbFunctions, matchExpression As String, pattern As String) As Boolean
The DbFunctions instance.
- matchExpression
- String
The string that is to be matched.
- pattern
- String
The pattern which may involve wildcards *,?,[,^,-,]
.
true
if there is a match.
See Database functions, and Accessing SQLite databases with EF Core for more information and examples.
Product | Versions |
---|---|
Entity Framework Core | 6.0, 7.0, 8.0, 9.0 |
Entity Framework feedback
Entity Framework is an open source project. Select a link to provide feedback: