SqliteDbFunctionsExtensions.Glob(DbFunctions, String, String) Method
Definition
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
Parameters
The DbFunctions instance.
- matchExpression
- String
The string that is to be matched.
- pattern
- String
The pattern which may involve wildcards *,?,[,^,-,]
.
Returns
true
if there is a match.
Remarks
See Database functions, and Accessing SQLite databases with EF Core for more information and examples.
Applies to
Entity Framework