sqlite fts citando problema

0

Eu posso fazer isso na ferramenta sqlite:

sqlite> select caption  from notes_fts where notes_fts MATCH '"perl install"';

mas não é possível no shell do Linux, ou seja, isso falha:

user@host:~$ sqlite3 sqldb  "select caption  from notes_fts where notes_fts MATCH '"it perl install  "';"

Eu tentei diferentes versões de citar " , mas não funcionou.

    
por fsnow55 15.10.2012 / 23:19

2 respostas

1

Tente isso:

sqlite3 sqldb "select caption from notes_fts where notes_fts MATCH '\"perl install\"';"
    
por 18.10.2012 / 20:40
0

Tente isso:

sqlite3 sqldb "select caption from notes_fts where notes_fts MATCH 'perl install';"
    
por 15.10.2012 / 23:26