You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+19Lines changed: 19 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -358,9 +358,28 @@ class ViewModel {
358
358
}
359
359
```
360
360
361
+
## FTS5
362
+
FTS5 is supported but has some additional requirements.
363
+
To generate usable structs Otter needs type information even though they not valid FTS arguments.
364
+
FTS 5 currently is the only virtual table module supported at this time.
365
+
```sql
366
+
CREATE VIRTUAL TABLE searchIndex USING fts5 (
367
+
id INTEGERNOT NULL,
368
+
textTEXT
369
+
);
370
+
371
+
SELECT*FROM searchIndex
372
+
WHERE foo MATCH 'search terms'
373
+
ORDER BY rank;
374
+
```
375
+
376
+
> [!NOTE]
377
+
> All types and not `NOT NULL` constraints will be removed from the final migration.
378
+
361
379
## Upcoming Features
362
380
* Support for multiple statements in a single query
363
381
* Kotlin library/generation
382
+
* Custom functions
364
383
365
384
## Contributions
366
385
Contributions are welcome and encouraged! Feel free to make a PR or open an issue. If the change is large please open an issue first to make sure the change is desired.
0 commit comments