mirror of
https://github.com/tursodatabase/libsql.git
synced 2025-02-24 05:05:36 +00:00
13 lines
239 B
Plaintext
13 lines
239 B
Plaintext
|
|
CREATE VIRTUAL TABLE ft USING fts3(x);
|
|
BEGIN;
|
|
INSERT INTO ft VALUES('a one'), ('b one'), ('c one');
|
|
|
|
|
|
BEGIN;
|
|
INSERT INTO ft VALUES('a one'), ('b one'), ('c one');
|
|
|
|
|
|
SELECT docid, optimize(ft) FROM ft WHERE ft MATCH 'one'
|
|
|