interplane.Get Omega
Read in your language

sqlite

[Ported from github.com/sqlite/sqlite] Fix bugs in and improve the interface to the ".check" command of the CLI.

Brought by drakestapleton

branch master Branches Tags History

sqlite / ext / jni / src / tests / 900-001-fts.test

12 lines · 382 bytes Raw Blame History
1/*
2** SCRIPT_MODULE_NAME: fts5-sanity-checks
3** xREQUIRED_PROPERTIES: FTS5
4**
5*/
6
7--testcase 1.0
8CREATE VIRTUAL TABLE email USING fts5(sender, title, body);
9insert into email values('fred','Help!','Dear Sir...');
10insert into email values('barney','Assistance','Dear Madam...');
11select * from email where email match 'assistance';
12--result barney Assistance {Dear Madam...}