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

Skip to content

How to add multi-parameter annotation class to sql data table #5553

Discussion options

You must be logged in to vote

Currently there is no support for annotating the data class table interface

Similar features have been previously discussed #3104 (comment) with some kind of module support to customise the code gen process.

The only way is to create a separate model class - with your annotations - using the type-safe mapper api https://sqldelight.github.io/sqldelight/2.0.2/android_sqlite/custom_projections/#type-projections

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by T2PeNBiX99wcoxKv3A4g
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants