classTextSearchRule
final class TextSearchRule
Lowers the text search, collation and conversion commands.
Rule: PG-TEXT-SEARCH-LOWER-001. Scope: AlterTSDictionaryStmt, AlterTSConfigurationStmt, any_with, AlterCollationStmt, CreateConversionStmt. Constructors: AlterTextSearchDictionary, MapTextSearchTokens, ReplaceTextSearchDictionary, DropTextSearchMapping, RefreshCollationVersion, CreateConversion. WITH_LA is the WITH keyword read with lookahead; both are the mandatory WITH of the mapping. Source: https://www.postgresql.org/docs/17/sql-altertsdictionary.html, https://www.postgresql.org/docs/17/sql-altertsconfig.html, https://www.postgresql.org/docs/17/sql-altercollation.html, https://www.postgresql.org/docs/17/sql-createconversion.html. Status: Implemented.
Methods§
Lowers a text search, collation or conversion command.
Parameters
$statement | Node |
Returns
Throws
ImplementationGap When the production has no ruleCalled from 1
Calls 10
- method-call TextSearchRule::with() line 53
- new AlterTextSearchDictionary line 57
- new MapTextSearchTokens line 58
- class-const MappingChange::Add() line 58
- class-const MappingChange::Alter() line 59
- new ReplaceTextSearchDictionary line 60
- new DropTextSearchMapping line 62
- new RefreshCollationVersion line 64
- new CreateConversion line 65
- static-call ImplementationGap::production() line 72
public function with(Form $form): voidAccepts the any_with of a configuration change, which is the mandatory WITH in either lexical form.
Parameters
$form | Form |
Throws
ImplementationGap When the production has no ruleTest cases 1
Called from 1
Calls 1
- static-call ImplementationGap::production() line 87
Private surface 1§
Implementation details, listed for orientation only.
private Lowering $loweringTest cases 1§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.