Literal
Represents a literal value in a KQLite query.
This sealed class is the base for all literal types, such as IntLiteral, StringLiteral, and DoubleLiteral. It encapsulates a specific value and its corresponding KQLite data type. Literals are used to represent constant values in expressions, comparisons, and insert/update statements.
Literals can also be used in place of KQLiteColumn.
Example
select(IntLiteral(1) + IntLiteral(2)).execute()Content copied to clipboard
Author
MOHAMMAD AZIM ANSARI
Type Parameters
T
The Kotlin type of the literal value.