Skip to content

Commit 18bc99d

Browse files
authored
Update README.md
1 parent badf6a0 commit 18bc99d

1 file changed

Lines changed: 10 additions & 5 deletions

File tree

README.md

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,8 @@ class ViewModel {
361361
## FTS5
362362
FTS5 is supported but has some additional requirements.
363363
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.
364+
Specifying the type is **required** and an optional `NOT NULL` is allowed. These are not FTS5
365+
arguments so they will be removed from the final migration.
365366
```sql
366367
CREATE VIRTUAL TABLE searchIndex USING fts5 (
367368
id INTEGER NOT NULL,
@@ -373,13 +374,17 @@ WHERE foo MATCH 'search terms'
373374
ORDER BY rank;
374375
```
375376

376-
> [!NOTE]
377-
> All types and not `NOT NULL` constraints will be removed from the final migration.
378-
379377
## Upcoming Features
378+
Otter is a young project and there are a lot of new features and functionality I want to add.
379+
Below are some idea that I would love input on!
380380
* Support for multiple statements in a single query
381381
* Kotlin library/generation
382-
* Custom functions
382+
* Generating Kotlin would allow SQLite based apps to basically share their model/data layer
383+
* User defined functions
384+
* SQLite supports custom functions which are a great way to share common logic amongst queries
385+
* Queries with multiple statements
386+
* Would allow for easier loading of more complex models that have many joins
387+
* Want to allow other queries to be called from within the body to help centrize logic.
383388

384389
## Contributions
385390
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

Comments
 (0)