mirror of
https://github.com/tursodatabase/libsql.git
synced 2024-12-13 12:28:30 +00:00
ad79ef48a2
* add tests * add bench
11 lines
292 B
Plaintext
11 lines
292 B
Plaintext
|
|
CREATE VIRTUAL TABLE x USING fts4(y,z);
|
|
INSERT INTO x VALUES('aaa bbb ccc ddd', 'bbb ddd aaa ccc');
|
|
SELECT * FROM x where y MATCH 'bbb NEAR/6 aaa';
|
|
|
|
|
|
CREATE VIRTUAL TABLE t2 USING fts4(a, b);
|
|
INSERT INTO t2 VALUES('A B C', 'A D E');
|
|
SELECT * FROM t2 where t2 MATCH 'a:A NEAR E'
|
|
|