Initializergrdb 7.2.0GRDB
init(matchingPhrase:)
Creates a pattern that matches a contiguous string.
init?(matchingPhrase string: String)
Parameters
- string
The string to turn into an FTS3 pattern.
The result is nil if no pattern could be built.
For example:
FTS3Pattern(matchingPhrase: "") // nil
FTS3Pattern(matchingPhrase: "foo bar") // "foo bar"