Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Side by Side Diff: third_party/sqlite/sqlite-src-3080704/ext/fts3/README.syntax

Issue 883353008: [sql] Import reference version of SQLite 3.8.7.4. (Closed) Base URL: http://chromium.googlesource.com/chromium/src.git@master
Patch Set: Hold back encoding change which is messing up patch. Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 1
2 1. OVERVIEW 2 1. OVERVIEW
3 3
4 This README file describes the syntax of the arguments that may be passed to 4 This README file describes the syntax of the arguments that may be passed to
5 the FTS3 MATCH operator used for full-text queries. For example, if table 5 the FTS3 MATCH operator used for full-text queries. For example, if table
6 "t1" is an Fts3 virtual table, the following SQL query: 6 "t1" is an Fts3 virtual table, the following SQL query:
7 7
8 SELECT * FROM t1 WHERE <col> MATCH <full-text query> 8 SELECT * FROM t1 WHERE <col> MATCH <full-text query>
9 9
10 may be used to retrieve all rows that match a specified for full-text query. 10 may be used to retrieve all rows that match a specified for full-text query.
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 Using the advanced syntax, it is possible to specify expressions enclosed 200 Using the advanced syntax, it is possible to specify expressions enclosed
201 in parenthesis as operands to the NOT, AND and OR operators. However both 201 in parenthesis as operands to the NOT, AND and OR operators. However both
202 the left and right hand side operands of NEAR operators must be either 202 the left and right hand side operands of NEAR operators must be either
203 tokens or phrases. Attempting the following query will return an error: 203 tokens or phrases. Attempting the following query will return an error:
204 204
205 <col> MATCH 'sqlite NEAR (fantastic OR impressive)' 205 <col> MATCH 'sqlite NEAR (fantastic OR impressive)'
206 206
207 Queries of this form must be re-written as: 207 Queries of this form must be re-written as:
208 208
209 <col> MATCH 'sqlite NEAR fantastic OR sqlite NEAR impressive' 209 <col> MATCH 'sqlite NEAR fantastic OR sqlite NEAR impressive'
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698