Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upSQLite text search doesn't work #1112
Comments
killercup
added
the
sqlite
label
Aug 17, 2017
This comment has been minimized.
|
First, I don't think we should try to infer virtual tables by default (just like we don't infer views). Does it work if you use Second, we have no support for |
Boscop
referenced this issue
Aug 17, 2017
Closed
Allow exluding tables from infer_schema!() macro #1115
This comment has been minimized.
Boscop
commented
Aug 17, 2017
•
|
It works when I don't use the table! {
foo(rowid) {
rowid -> Integer,
path -> Text,
}
} |
Boscop
closed this
Aug 17, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Boscop commentedAug 17, 2017
I'm trying to do text search in SQLite, but when I create a virtual FTS table, like this:
create virtual table foo using fts5 (content='files', path);I get this error:
How can I get this to work? Do I have to create a FTS table with a primary key? If so, how?
Can I then declare the table using the
table!macro?Does diesel support the
MATCHexpression or do I have to use a custom query using thesql!macro?