Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Virtual tables: Generate type if returned from query #4039

Closed
@hfhbd

Description

@hfhbd

See #4015 (comment)

CREATE VIRTUAL TABLE myftstable2 USING fts5(something TEXT, nice TEXT);

selectFromTable2:
SELECT *
FROM myftstable2;
public fun selectFromTable2(): Query<Myftstable2> = selectFromTable2 { something, nice ->
  Myftstable2( // the table is virtual and there is no Myftstable2 data class generated
    something,
    nice
  )
}

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions