This repository was archived by the owner on Jan 9, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -126,13 +126,13 @@ would produce the following query in `NATURAL_LANGUAGE` mode:
126126
127127
128128``` sql
129- select * from ` posts` where MATCH(content,meta) AGAINST(:_search IN NATURAL LANGUAGE MODE)
129+ select * from ` posts` where MATCH(content,meta) AGAINST(? IN NATURAL LANGUAGE MODE)
130130```
131131
132132and the following query in ` BOOLEAN ` mode:
133133
134134``` sql
135- select * from ` posts` where MATCH(content,meta) AGAINST(:_search IN BOOLEAN MODE)
135+ select * from ` posts` where MATCH(content,meta) AGAINST(? IN BOOLEAN MODE)
136136```
137137
138138Operators for ` BOOLEAN ` mode should be passed as part of the search string.
@@ -143,7 +143,7 @@ For more information see the
143143
144144### LIKE and LIKE_EXPANDED Modes
145145
146- ` LIKE ` and ` LIKE_EXPANDED ` modes will run ` WHERE LIKE %:_search % ` queries that will include all of the Model's fields
146+ ` LIKE ` and ` LIKE_EXPANDED ` modes will run ` WHERE LIKE %? % ` queries that will include all of the Model's fields
147147returned from ` toSearchableArray() ` . ` LIKE_EXPANDED ` mode will query each field using each individual word in the search string.
148148
149149For example running a search on a ` Customer ` model with the following database structure:
You can’t perform that action at this time.
0 commit comments